diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2005-07-26 23:44:15 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2005-07-26 23:44:15 +0800 |
commit | 3277db2040421082463be5f5e1a68ba2dd4170bf (patch) | |
tree | 670903ab1fdbae5cff29c6075603847591b127df /converters/p5-Unicode-MapUTF8 | |
parent | 3dfdc339dea9ccf275a4dee1269cb0c211534b27 (diff) | |
download | freebsd-ports-gnome-3277db2040421082463be5f5e1a68ba2dd4170bf.tar.gz freebsd-ports-gnome-3277db2040421082463be5f5e1a68ba2dd4170bf.tar.zst freebsd-ports-gnome-3277db2040421082463be5f5e1a68ba2dd4170bf.zip |
Unbreak conditionalized Jcode.pm path.
Reported by: pointyhat via kris
Diffstat (limited to 'converters/p5-Unicode-MapUTF8')
-rw-r--r-- | converters/p5-Unicode-MapUTF8/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/converters/p5-Unicode-MapUTF8/Makefile b/converters/p5-Unicode-MapUTF8/Makefile index 8e9b08199a85..fe4b4d35a363 100644 --- a/converters/p5-Unicode-MapUTF8/Makefile +++ b/converters/p5-Unicode-MapUTF8/Makefile @@ -17,7 +17,7 @@ COMMENT= Perl class that implements conversion between arbitrary charsets BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Unicode/Map.pm:${PORTSDIR}/converters/p5-Unicode-Map \ ${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \ ${SITE_PERL}/${PERL_ARCH}/Unicode/Map8.pm:${PORTSDIR}/converters/p5-Unicode-Map8 \ - ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode + ${JCODE}:${PORTSDIR}/japanese/p5-Jcode RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -25,4 +25,12 @@ PERL_CONFIGURE= yes MAN3= Unicode::MapUTF8.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500801 +JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm +.else +JCODE= ${SITE_PERL}/Jcode.pm +.endif + +.include <bsd.port.post.mk> |