mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
3 changed files with 17 additions and 6 deletions
|
@ -78,13 +78,13 @@ PLIST_SUB+= VTYSH="@comment "
|
||||||
|
|
||||||
.if !defined(BATCH)
|
.if !defined(BATCH)
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
@${RM} -f ${WRKDIR}/Makefile.inc
|
||||||
|
|
||||||
post-clean:
|
post-clean:
|
||||||
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
@${RM} -f ${WRKDIR}/Makefile.inc
|
||||||
|
|
||||||
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
|
.if exists(${WRKDIR}/Makefile.inc)
|
||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
.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
|
esac
|
||||||
|
|
||||||
/bin/mkdir -p ${WRKDIRPREFIX}${CURDIR}
|
/bin/mkdir -p ${WRKDIR}
|
||||||
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
exec > ${WRKDIR}/Makefile.inc
|
||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
Loading…
Add table
Reference in a new issue