aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2004-02-19 17:40:50 +0800
committerphilip <philip@FreeBSD.org>2004-02-19 17:40:50 +0800
commit6c2ba45f14caef3914cdaa05820a831cd38fccce (patch)
tree1676228491424be57716661780efd5beba9a9079 /lang
parent189fe9192116b996736607ab87618de1f8d594de (diff)
downloadfreebsd-ports-gnome-6c2ba45f14caef3914cdaa05820a831cd38fccce.tar.gz
freebsd-ports-gnome-6c2ba45f14caef3914cdaa05820a831cd38fccce.tar.zst
freebsd-ports-gnome-6c2ba45f14caef3914cdaa05820a831cd38fccce.zip
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 'lang')
-rw-r--r--lang/perl5.10/Makefile2
-rw-r--r--lang/perl5.10/pkg-install2
-rw-r--r--lang/perl5.12/Makefile2
-rw-r--r--lang/perl5.12/pkg-install2
-rw-r--r--lang/perl5.14/Makefile2
-rw-r--r--lang/perl5.14/pkg-install2
-rw-r--r--lang/perl5.16/Makefile2
-rw-r--r--lang/perl5.16/pkg-install2
-rw-r--r--lang/perl5.8/Makefile2
-rw-r--r--lang/perl5.8/pkg-install2
10 files changed, 10 insertions, 10 deletions
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index 0f1ffcfc0d8b..9a36b92d8cea 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
diff --git a/lang/perl5.10/pkg-install b/lang/perl5.10/pkg-install
index ae3123822957..62c87fadabfc 100644
--- a/lang/perl5.10/pkg-install
+++ b/lang/perl5.10/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
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index 0f1ffcfc0d8b..9a36b92d8cea 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
diff --git a/lang/perl5.12/pkg-install b/lang/perl5.12/pkg-install
index ae3123822957..62c87fadabfc 100644
--- a/lang/perl5.12/pkg-install
+++ b/lang/perl5.12/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
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile
index 0f1ffcfc0d8b..9a36b92d8cea 100644
--- a/lang/perl5.14/Makefile
+++ b/lang/perl5.14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
diff --git a/lang/perl5.14/pkg-install b/lang/perl5.14/pkg-install
index ae3123822957..62c87fadabfc 100644
--- a/lang/perl5.14/pkg-install
+++ b/lang/perl5.14/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
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile
index 0f1ffcfc0d8b..9a36b92d8cea 100644
--- a/lang/perl5.16/Makefile
+++ b/lang/perl5.16/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
diff --git a/lang/perl5.16/pkg-install b/lang/perl5.16/pkg-install
index ae3123822957..62c87fadabfc 100644
--- a/lang/perl5.16/pkg-install
+++ b/lang/perl5.16/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
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile
index 0f1ffcfc0d8b..9a36b92d8cea 100644
--- a/lang/perl5.8/Makefile
+++ b/lang/perl5.8/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
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