freebsd-ports/sysutils/fetchlog/files/patch-aa
Kirill Ponomarev 7ffe693777 - Update to version 1.0
PR:		ports/64902
Submitted by:	maintainer
2004-03-29 18:40:04 +00:00

22 lines
668 B
Text

--- Makefile.orig Mon Mar 29 19:47:03 2004
+++ Makefile Mon Mar 29 19:48:31 2004
@@ -23,8 +23,8 @@
### compiler
### gcc
-CC=gcc
-CFLAGS= -O -Wall -Wcast-qual -Wstrict-prototypes \
+CC?=cc
+CFLAGS+= -O -Wall -Wcast-qual -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align
### cc
#CC=cc
@@ -57,7 +57,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 -----------------------------------------------