summaryrefslogtreecommitdiffstats
path: root/sysutils/fetchlog/files/patch-aa
blob: 3cad22635275530ff80874bf4ba7cb7638de9b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Makefile.orig	Mon Aug 11 18:58:18 2003
+++ Makefile	Mon Aug 11 19:02:35 2003
@@ -23,8 +23,9 @@
 ### compiler
 
 ### gcc
-CC=gcc
-CFLAGS= -O -Wall -Wcast-qual -Wstrict-prototypes \
+#CC=gcc
+CC ?= =cc
+CFLAGS += -O -Wall -Wcast-qual -Wstrict-prototypes \
 	-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align 
 ### cc
 #CC=cc
@@ -62,7 +63,7 @@
 ### installdir    
 ###   will use $INSTDIR/bin  and  $INSTDIR/man/man1, 
 ###   both dirs have to exist for installation
-INSTDIR=/usr/local
+INSTDIR=${PREFIX}
 
 ### ------------------------------------------------------------------------
 ### --- end of user settings -----------------------------------------------
OpenPOWER on IntegriCloud