summaryrefslogtreecommitdiff
path: root/net/pimdd/files/patch-Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-09-07 19:34:40 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-09-07 19:34:40 +0000
commit7984fcdc8f89451d7cf1f3eb323e94423665090f (patch)
tree6ad15cf8fbe14154ca8c9ffe9d5e513f7bce494b /net/pimdd/files/patch-Makefile
parentRename and split net/mcast-tools into net/pim6-tools, net/pim6sd, (diff)
- Add LICENSE.
- Do not override CFLAGS. - Fix some compiler warnings. - Take maintainership.
Diffstat (limited to 'net/pimdd/files/patch-Makefile')
-rw-r--r--net/pimdd/files/patch-Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/pimdd/files/patch-Makefile b/net/pimdd/files/patch-Makefile
index 9e68a532833c..26738616213e 100644
--- a/net/pimdd/files/patch-Makefile
+++ b/net/pimdd/files/patch-Makefile
@@ -1,20 +1,23 @@
---- Makefile.orig 1999-11-30 18:58:53.000000000 +0100
-+++ Makefile 2013-09-08 09:39:18.947517833 +0200
-@@ -53,7 +53,7 @@
+--- Makefile.orig 1999-11-30 17:58:53 UTC
++++ Makefile
+@@ -53,9 +53,9 @@ PROG_CVS_LAST_VERSION = ${PROG_NAME}_${C
# Support for Resource Reservations), currently used by RSVP.
RSRRDEF= -DRSRR
-CC = gcc
-+#CC = gcc
++CC?= gcc
MCAST_INCLUDE= -Iinclude
- LDFLAGS=
+-LDFLAGS=
++LDFLAGS?=
-@@ -63,7 +63,7 @@
+ #CONFIGCONFIGCONFIG
+ PURIFY= purify -cache-dir=/tmp -collector=/import/pkgs/gcc/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.7.2.2/ld
+@@ -63,7 +63,7 @@ PURIFY= purify -cache-dir=/tmp -collect
#CONFIGCONFIGCONFIG
### Compilation flags for different platforms. Uncomment only one of them
## FreeBSD
-CFLAGS= -Wall -g -Iinclude/freebsd ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} ${MISCDEFS} -DFreeBSD -DPIM
-+CFLAGS= -Wall -g ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} ${MISCDEFS} -DFreeBSD -DPIM -Dlog=logit
++CFLAGS+= ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} ${MISCDEFS} -DFreeBSD -DPIM -Dlog=logit ${CPPFLAGS}
## NetBSD -DNetBSD is done by OS
#CFLAGS= -Wall -g -Iinclude/netbsd ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} ${MISCDEFS} -DPIM