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:
parent
8ff3473972
commit
d4626fd9d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120319
@ -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
|
||||
|
||||
|
11
net/zebra/files/patch-configure
Normal file
11
net/zebra/files/patch-configure
Normal 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
|
4
net/zebra/scripts/configure
vendored
4
net/zebra/scripts/configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user