summaryrefslogtreecommitdiff
path: root/sysutils/fetchlog/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fetchlog/files/patch-Makefile')
-rw-r--r--sysutils/fetchlog/files/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/fetchlog/files/patch-Makefile b/sysutils/fetchlog/files/patch-Makefile
new file mode 100644
index 000000000000..9139c6f706ad
--- /dev/null
+++ b/sysutils/fetchlog/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- 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 -----------------------------------------------