diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-12-13 14:16:36 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-12-13 14:16:36 +0800 |
commit | 7b793a558bc50541504ca82106a0dbc934ac653f (patch) | |
tree | ca8cd68774ed4c3a77182f2d27f1896cb2493f0b /news | |
parent | 5f2b363ed0825511ad0e7415cb45a681468a1cd5 (diff) | |
download | freebsd-ports-graphics-7b793a558bc50541504ca82106a0dbc934ac653f.tar.gz freebsd-ports-graphics-7b793a558bc50541504ca82106a0dbc934ac653f.tar.zst freebsd-ports-graphics-7b793a558bc50541504ca82106a0dbc934ac653f.zip |
- Fix build, as USE_PERL5 now conditional.
Diffstat (limited to 'news')
-rw-r--r-- | news/c-nocem/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile index 871d2f5f6d5..92f78f653fe 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> |