aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-11-13 19:23:30 +0800
committernork <nork@FreeBSD.org>2005-11-13 19:23:30 +0800
commit0ce1adf2564ca9e5267a6e0ffe72e5f1b3e38c4d (patch)
tree7454b4a10aec7e8d2cc8556eb5aca003afa73eab /irc
parent07a499bf855bfd9f893f0112bcfdeacb1ec056dd (diff)
downloadfreebsd-ports-gnome-0ce1adf2564ca9e5267a6e0ffe72e5f1b3e38c4d.tar.gz
freebsd-ports-gnome-0ce1adf2564ca9e5267a6e0ffe72e5f1b3e38c4d.tar.zst
freebsd-ports-gnome-0ce1adf2564ca9e5267a6e0ffe72e5f1b3e38c4d.zip
Chase dependency on ja-p5-Jcode.
I don't bump PORTREVISION. Because dependency on ja-p5-Jcode is correct, only path isn't correct. This is build phase issue.
Diffstat (limited to 'irc')
-rw-r--r--irc/keitairc/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/irc/keitairc/Makefile b/irc/keitairc/Makefile
index 5553fe690e6c..962bc897ca94 100644
--- a/irc/keitairc/Makefile
+++ b/irc/keitairc/Makefile
@@ -15,7 +15,7 @@ EXTRACT_SUFX= #empty
MAINTAINER= matusita@FreeBSD.org
COMMENT=IRC proxy for mobilephone that have a web interface
-RUN_DEPENDS= ${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \
+RUN_DEPENDS= ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
${SITE_PERL}/POE/Component/IRC.pm:${PORTSDIR}/irc/p5-POE-Component-IRC \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww \
@@ -36,4 +36,12 @@ do-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin
-.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>