1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Move Makefile.inc into ${WRKDIR}

- Make compilable when FreeBSD has /dev/ip.

Obtained from:	net/quagga
Reported by:	swylie@wylie.com
This commit is contained in:
Munechika SUMIKAWA 2004-10-27 15:27:36 +00:00
parent 8ff3473972
commit d4626fd9d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120319
3 changed files with 17 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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