opnsense-ports/sysutils/fetchlog/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
706 B
Text

--- Makefile.orig 2010-06-21 11:35:08.000000000 +0200
+++ Makefile 2010-06-21 19:10:33.000000000 +0200
@@ -23,8 +23,8 @@
### compiler
### gcc
-CC=gcc
-CFLAGS= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \
+CC?=cc
+CFLAGS+= -O -Werror -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 -----------------------------------------------