summaryrefslogtreecommitdiffstats
path: root/news/fidogate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/fidogate/Makefile')
-rw-r--r--news/fidogate/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/news/fidogate/Makefile b/news/fidogate/Makefile
index f26c851..13c8f68 100644
--- a/news/fidogate/Makefile
+++ b/news/fidogate/Makefile
@@ -26,6 +26,12 @@ FORBIDDEN= indefinite hang
USE_GMAKE= yes
USE_PERL5= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 300000
+EXTRA_PATCHES+= ${FILESDIR}/patch-perl
+.endif
+
pre-configure:
@${MV} ${WRKSRC}/config.make ${WRKSRC}/config.make.sed
@${SED} -e 's/\$${PREFIX}/${PREFIX:S/\//\\\//g}/g' \
@@ -63,4 +69,4 @@ post-install:
(cd ${PREFIX}/share/examples/fidogate; tar xf -)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud