aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2004-10-27 23:27:36 +0800
committersumikawa <sumikawa@FreeBSD.org>2004-10-27 23:27:36 +0800
commit4ae9b9f09220d8d6f5d80ed5f40742a039c56609 (patch)
treef1f59f8eb04693083eb0f6596d931e9274f9b341 /net/zebra
parent22bb281ef6e0e5dc30ab90f87d0cb8195acff6e4 (diff)
downloadfreebsd-ports-gnome-4ae9b9f09220d8d6f5d80ed5f40742a039c56609.tar.gz
freebsd-ports-gnome-4ae9b9f09220d8d6f5d80ed5f40742a039c56609.tar.zst
freebsd-ports-gnome-4ae9b9f09220d8d6f5d80ed5f40742a039c56609.zip
- Move Makefile.inc into ${WRKDIR}
- Make compilable when FreeBSD has /dev/ip. Obtained from: net/quagga Reported by: swylie@wylie.com
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile8
-rw-r--r--net/zebra/files/patch-configure11
-rw-r--r--net/zebra/scripts/configure4
3 files changed, 17 insertions, 6 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index a1bf48a62ae9..5fd54b4855e5 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -78,13 +78,13 @@ PLIST_SUB+= VTYSH="@comment "
.if !defined(BATCH)
pre-configure:
- @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+ @${RM} -f ${WRKDIR}/Makefile.inc
post-clean:
- @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+ @${RM} -f ${WRKDIR}/Makefile.inc
-.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
-.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.if exists(${WRKDIR}/Makefile.inc)
+.include "${WRKDIR}/Makefile.inc"
.endif
.endif
diff --git a/net/zebra/files/patch-configure b/net/zebra/files/patch-configure
new file mode 100644
index 000000000000..f379a613abb0
--- /dev/null
+++ b/net/zebra/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Nov 4 18:00:53 2003
++++ configure Wed Oct 27 16:19:36 2004
+@@ -5669,6 +5669,8 @@
+ zebra_ipforward_path="proc";;
+ "/dev/ip")
+ case "$host" in
++ *-freebsd*) IPFORWARD=ipforward_sysctl.o
++ zebra_ipforward_path="sysctl";;
+ *-linux-*) IPFORWARD=ipforward_proc.o
+ zebra_ipforward_path="proc";;
+ *-nec-sysv4*) IPFORWARD=ipforward_ews.o
diff --git a/net/zebra/scripts/configure b/net/zebra/scripts/configure
index 9a5c8a9926f4..a48a5446febc 100644
--- a/net/zebra/scripts/configure
+++ b/net/zebra/scripts/configure
@@ -37,8 +37,8 @@ case $retval in
;;
esac
-/bin/mkdir -p ${WRKDIRPREFIX}${CURDIR}
-exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+/bin/mkdir -p ${WRKDIR}
+exec > ${WRKDIR}/Makefile.inc
while [ "$1" ]; do
case $1 in