summaryrefslogtreecommitdiff
path: root/lang/perl5.8/pkg-install
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2004-02-19 09:40:50 +0000
committerPhilip Paeps <philip@FreeBSD.org>2004-02-19 09:40:50 +0000
commit7360591d8a820953e04b52f59f6863dad7b44914 (patch)
tree3eb1ad9e40a2576cf3312162971e508c79df17fe /lang/perl5.8/pkg-install
parent- Update to version 1.05 (diff)
This fixes a little bug introduced in r1.8.
When installing with pkg_add(1), the ${SITE_PERL} directory was not created causing system headers not to be perlified and installed by h2ph. This made some things break in very mysterious ways. The pkg-install script used by pkg_add(1) doesn't know about the many special variables in bsd.port.mk, so it shouldn't try to rely on them. Noticed by: bento, kris Approved by: kris
Diffstat (limited to '')
-rw-r--r--lang/perl5.8/pkg-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/perl5.8/pkg-install b/lang/perl5.8/pkg-install
index ae3123822957..62c87fadabfc 100644
--- a/lang/perl5.8/pkg-install
+++ b/lang/perl5.8/pkg-install
@@ -6,7 +6,7 @@ fi
INCLUDEDIR=/usr/include
-install -d ${SITE_PERL}/${PERL_ARCH}
+install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.8.2/mach
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h
if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then