From e7ee0cc16ef6e6abb8a9660aa36f9b9b4bc096f9 Mon Sep 17 00:00:00 2001 From: edwin Date: Wed, 15 Dec 2004 03:03:16 +0000 Subject: Fix build on 4.x PR: ports/74914 Submitted by: James E. Housley --- net/freenet6/Makefile | 3 +++ net/freenet6/files/patch-template::freebsd.sh | 11 ----------- net/freenet6/files/patch5-template::freebsd.sh | 11 +++++++++++ 3 files changed, 14 insertions(+), 11 deletions(-) delete mode 100644 net/freenet6/files/patch-template::freebsd.sh create mode 100644 net/freenet6/files/patch5-template::freebsd.sh diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile index b72e6c7c6375..bc13276b036f 100644 --- a/net/freenet6/Makefile +++ b/net/freenet6/Makefile @@ -30,6 +30,9 @@ PKGMESSAGE= ${WRKDIR}/pkg-message .if ${OSVERSION} < 400000 IGNORE= This program might not be working on FreeBSD version below 4.0 .endif +.if ${OSVERSION} > 500000 +EXTRA_PATCHES= patch5-template::freebsd.sh +.endif MAKE_ARGS= target=freebsd installdir=${PREFIX} diff --git a/net/freenet6/files/patch-template::freebsd.sh b/net/freenet6/files/patch-template::freebsd.sh deleted file mode 100644 index 4b0c23d9e681..000000000000 --- a/net/freenet6/files/patch-template::freebsd.sh +++ /dev/null @@ -1,11 +0,0 @@ ---- template/freebsd.sh.orig Fri Jun 11 12:41:18 2004 -+++ template/freebsd.sh Sat Nov 20 14:56:36 2004 -@@ -80,7 +80,7 @@ - Display 1 '--- Start of configuration script. ---' - Display 1 "Script: " `basename $0` - --gifconfig=/usr/sbin/gifconfig -+gifconfig=/usr/sbin/ifconfig - ifconfig=/sbin/ifconfig - route=/sbin/route - rtadvd=/usr/sbin/rtadvd diff --git a/net/freenet6/files/patch5-template::freebsd.sh b/net/freenet6/files/patch5-template::freebsd.sh new file mode 100644 index 000000000000..4b0c23d9e681 --- /dev/null +++ b/net/freenet6/files/patch5-template::freebsd.sh @@ -0,0 +1,11 @@ +--- template/freebsd.sh.orig Fri Jun 11 12:41:18 2004 ++++ template/freebsd.sh Sat Nov 20 14:56:36 2004 +@@ -80,7 +80,7 @@ + Display 1 '--- Start of configuration script. ---' + Display 1 "Script: " `basename $0` + +-gifconfig=/usr/sbin/gifconfig ++gifconfig=/usr/sbin/ifconfig + ifconfig=/sbin/ifconfig + route=/sbin/route + rtadvd=/usr/sbin/rtadvd -- cgit