ports/net/pimdd/files/patch-Makefile
Pawel Pekala 3dfe4b6f75 - Fix build with clang, now no gcc is required on 10+ [1]
- Adapt it to new RAW socket behavior introduced in 10.0 [1]
- Support staging [1]
- Convert to new options framework
- Respect CFLAGS

PR:		ports/186127 [1]
Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me>
2014-02-21 22:30:51 +00:00

20 lines
721 B
Text

--- Makefile.orig 1999-11-30 18:58:53.000000000 +0100
+++ Makefile 2013-09-08 09:39:18.947517833 +0200
@@ -53,7 +53,7 @@
# Support for Resource Reservations), currently used by RSVP.
RSRRDEF= -DRSRR
-CC = gcc
+#CC = gcc
MCAST_INCLUDE= -Iinclude
LDFLAGS=
@@ -63,7 +63,7 @@
#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
## NetBSD -DNetBSD is done by OS
#CFLAGS= -Wall -g -Iinclude/netbsd ${MCAST_INCLUDE} ${SNMPDEF} ${RSRRDEF} ${MISCDEFS} -DPIM