mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
bad02a5349
PR: 259935 Reported by: alexander.haderer@loescap.de (maintainer)
23 lines
693 B
Plaintext
23 lines
693 B
Plaintext
--- Makefile.orig 2010-07-02 10:10:08 UTC
|
|
+++ Makefile
|
|
@@ -23,8 +23,8 @@ FETCHLOG_VERSION=1.4
|
|
### compiler
|
|
|
|
### gcc
|
|
-CC=gcc
|
|
-CFLAGS= -O -Werror -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 @@ HAS_REGEX=-DHAS_REGEX
|
|
### 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 -----------------------------------------------
|