diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2005-07-26 15:44:15 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2005-07-26 15:44:15 +0000 |
commit | 5eb1381a24f03d08b1f0a1c9d8966da186c20c2e (patch) | |
tree | 80d06bbd8e13fb5888512a6e94f9016b6b6a7ef8 /japanese/wikicker | |
parent | Pass maintainership (diff) |
Unbreak conditionalized Jcode.pm path.
Reported by: pointyhat via kris
Notes
Notes:
svn path=/head/; revision=140161
Diffstat (limited to 'japanese/wikicker')
-rw-r--r-- | japanese/wikicker/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/wikicker/Makefile b/japanese/wikicker/Makefile index 6780753a0e2b..1ff7c9e4b8ee 100644 --- a/japanese/wikicker/Makefile +++ b/japanese/wikicker/Makefile @@ -29,7 +29,7 @@ RUN_DEPENDS+= \ ${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \ ${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ - ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \ + ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ ${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl @@ -54,6 +54,12 @@ IGNORE= requires Perl 5.6 or newer to run. Either install new Perl or define WIT RUN_DEPENDS+= ${SITE_PERL}/Cache/Memcached.pm:${PORTSDIR}/databases/p5-Cache-Memcached .endif +.if ${PERL_LEVEL} < 500801 +JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm +.else +JCODE= ${SITE_PERL}/Jcode.pm +.endif + PERL_CONFIGURE= yes PKGMESSAGE= ${WRKDIR}/pkg-message WIKIAUTO= ${SITE_PERL}/auto/${PORTNAME} |