summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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