summaryrefslogtreecommitdiff
path: root/package/ipcad
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-11 18:19:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-11 18:19:44 +0100
commitb608c5a7dc38765319cc5f7cb32d35fcb0701d08 (patch)
tree15bcd0cd2d80058dbdd6bea3e6fb73cb7e7000bb /package/ipcad
parent55d3db867cddc1b2917a60cda577a7865f49eda8 (diff)
fix misusage of CFLAGS, found via -fhonour-copts
Diffstat (limited to 'package/ipcad')
-rw-r--r--package/ipcad/patches/patch-Makefile_in17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/ipcad/patches/patch-Makefile_in b/package/ipcad/patches/patch-Makefile_in
new file mode 100644
index 000000000..40bcdf546
--- /dev/null
+++ b/package/ipcad/patches/patch-Makefile_in
@@ -0,0 +1,17 @@
+--- ipcad-3.7.3.orig/Makefile.in 2007-04-22 10:08:45.000000000 +0200
++++ ipcad-3.7.3/Makefile.in 2011-01-11 17:16:15.000000000 +0100
+@@ -6,10 +6,10 @@ sysconfdir= @sysconfdir@
+ datadir= @datadir@
+
+ CC= @CC@
+-LDFLAGS+= @LDFLAGS@
+-LIBS+= @LIBS@
+-CFLAGS+= @CFLAGS@ @DEFS@ -W -Wall
+-CPPFLAGS+=-DIPCAD_VERSION=\"@IPCAD_VERSION@\"
++LDFLAGS= @LDFLAGS@
++LIBS= @LIBS@
++CFLAGS= @CFLAGS@ @DEFS@ -W -Wall
++CPPFLAGS=-DIPCAD_VERSION=\"@IPCAD_VERSION@\"
+ CPPFLAGS+=-DCONFIG_FILE=\"${sysconfdir}/ipcad.conf\"
+ CPPFLAGS+=@DEFS@ -D_REENTRANT -D_THREAD_SAFE
+ CPPFLAGS+=-DPSRC_@PSRC@ -DIFST_@IFST@