From 3c49fe30d12dad98101bc8b2bf8fc9efd6c946fd Mon Sep 17 00:00:00 2001 From: edwin Date: Mon, 21 Nov 2005 23:33:03 +0000 Subject: Fix pkg-install script to not use i386-freebsd hardcoded Noticed by: YAPHR --- japanese/perl5/Makefile | 2 +- japanese/perl5/pkg-install | 2 +- 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 -- cgit