diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2004-10-27 15:27:36 +0000 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2004-10-27 15:27:36 +0000 |
commit | 4ae9b9f09220d8d6f5d80ed5f40742a039c56609 (patch) | |
tree | f1f59f8eb04693083eb0f6596d931e9274f9b341 /net | |
parent | 22bb281ef6e0e5dc30ab90f87d0cb8195acff6e4 (diff) | |
download | FreeBSD-ports-4ae9b9f09220d8d6f5d80ed5f40742a039c56609.zip FreeBSD-ports-4ae9b9f09220d8d6f5d80ed5f40742a039c56609.tar.gz |
- 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')
-rw-r--r-- | net/zebra/Makefile | 8 | ||||
-rw-r--r-- | net/zebra/files/patch-configure | 11 | ||||
-rw-r--r-- | net/zebra/scripts/configure | 4 |
3 files changed, 17 insertions, 6 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile index a1bf48a..5fd54b4 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 0000000..f379a61 --- /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 9a5c8a9..a48a544 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 |