aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-22 07:33:03 +0800
committeredwin <edwin@FreeBSD.org>2005-11-22 07:33:03 +0800
commit3c49fe30d12dad98101bc8b2bf8fc9efd6c946fd (patch)
tree7516484d9cd0677a85472f28f9b1c71bc20da880 /japanese
parent1101d91744163610b1db9589239451a29d25fa07 (diff)
downloadfreebsd-ports-gnome-3c49fe30d12dad98101bc8b2bf8fc9efd6c946fd.tar.gz
freebsd-ports-gnome-3c49fe30d12dad98101bc8b2bf8fc9efd6c946fd.tar.zst
freebsd-ports-gnome-3c49fe30d12dad98101bc8b2bf8fc9efd6c946fd.zip
Fix pkg-install script to not use i386-freebsd hardcoded
Noticed by: YAPHR
Diffstat (limited to 'japanese')
-rw-r--r--japanese/perl5/Makefile2
-rw-r--r--japanese/perl5/pkg-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/japanese/perl5/Makefile b/japanese/perl5/Makefile
index a9e055093a7e..8b4f2fa06c1b 100644
--- a/japanese/perl5/Makefile
+++ b/japanese/perl5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${JPERL_VER}.${JPERL_VER_PL}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese perl5
MASTER_SITES= ftp://ftp.cpan.org/CPAN/src/5.0/ \
ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/ \
diff --git a/japanese/perl5/pkg-install b/japanese/perl5/pkg-install
index 3761b9cabd3d..12322feddf14 100644
--- a/japanese/perl5/pkg-install
+++ b/japanese/perl5/pkg-install
@@ -4,7 +4,7 @@ if [ "$2" != POST-INSTALL ] ; then
exit 0
fi
-install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.005/i386-freebsd
+install -d ${PKG_PREFIX}/lib/perl5/site_perl/${JPERL_VER}/${JPERL_ARCH}
cd /usr/include && ${PREFIX:-/usr/local}/bin/h2ph *.h machine/*.h sys/*.h
exit 0