summaryrefslogtreecommitdiff
path: root/news/c-nocem
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-12-13 06:16:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-12-13 06:16:36 +0000
commit115a3282572ecd7da77b95c35e9ec5584a3ab488 (patch)
tree39c95fdf0a5fc2c720e1323634334ad516a7c262 /news/c-nocem
parent- Fix build on CURRRENT (diff)
- Fix build, as USE_PERL5 now conditional.
Notes
Notes: svn path=/head/; revision=71591
Diffstat (limited to 'news/c-nocem')
-rw-r--r--news/c-nocem/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile
index 871d2f5f6d5a..92f78f653fe6 100644
--- a/news/c-nocem/Makefile
+++ b/news/c-nocem/Makefile
@@ -19,10 +19,15 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${PORTSDIR}/news/cnews \
WRKSRC= ${WRKDIR}/c-nocem
CNEWSSRC?= ${.CURDIR}/../cnews/work
NEWSBIN?= ${PREFIX}/libexec/cnews
-USE_PERL5= yes # build with perl4 fine too.
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cnews=${WRKDIRPREFIX}${CNEWSSRC}
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500000
+USE_PERL5= yes
+.endif
+
+.include <bsd.port.post.mk>