aboutsummaryrefslogtreecommitdiffstats
path: root/net/freenet6
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-15 11:03:16 +0800
committeredwin <edwin@FreeBSD.org>2004-12-15 11:03:16 +0800
commite7ee0cc16ef6e6abb8a9660aa36f9b9b4bc096f9 (patch)
treeb940876d53e2e374cc305c0ad7dbc37a193f6af9 /net/freenet6
parent3cf6176741e9552cf03bcd237ea7dd9141d55aa1 (diff)
downloadfreebsd-ports-gnome-e7ee0cc16ef6e6abb8a9660aa36f9b9b4bc096f9.tar.gz
freebsd-ports-gnome-e7ee0cc16ef6e6abb8a9660aa36f9b9b4bc096f9.tar.zst
freebsd-ports-gnome-e7ee0cc16ef6e6abb8a9660aa36f9b9b4bc096f9.zip
Fix build on 4.x
PR: ports/74914 Submitted by: James E. Housley <jeh@thehousleys.net>
Diffstat (limited to 'net/freenet6')
-rw-r--r--net/freenet6/Makefile3
-rw-r--r--net/freenet6/files/patch5-template::freebsd.sh (renamed from net/freenet6/files/patch-template::freebsd.sh)0
2 files changed, 3 insertions, 0 deletions
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/patch5-template::freebsd.sh
index 4b0c23d9e681..4b0c23d9e681 100644
--- a/net/freenet6/files/patch-template::freebsd.sh
+++ b/net/freenet6/files/patch5-template::freebsd.sh