Skip to content

Commit

Permalink
Update the pkg-install script to run use.perl port after install on r…
Browse files Browse the repository at this point in the history
…ecent

versions of -CURRENT.

Reported by:	kris
  • Loading branch information
xorrkaz committed Feb 4, 2004
1 parent ae34164 commit e9b5bbd
Showing 10 changed files with 50 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lang/perl5.10/Makefile
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

PORTNAME= perl
PORTVERSION= ${PERL_VER}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
9 changes: 9 additions & 0 deletions lang/perl5.10/pkg-install
Original file line number Diff line number Diff line change
@@ -9,5 +9,14 @@ INCLUDEDIR=/usr/include
install -d ${SITE_PERL}/${PERL_ARCH}
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h

if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
osreldate=`/sbin/sysctl -n kern.osreldate`
else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi

if [ $osreldate -ge 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi

exit 0
2 changes: 1 addition & 1 deletion lang/perl5.12/Makefile
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

PORTNAME= perl
PORTVERSION= ${PERL_VER}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
9 changes: 9 additions & 0 deletions lang/perl5.12/pkg-install
Original file line number Diff line number Diff line change
@@ -9,5 +9,14 @@ INCLUDEDIR=/usr/include
install -d ${SITE_PERL}/${PERL_ARCH}
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h

if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
osreldate=`/sbin/sysctl -n kern.osreldate`
else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi

if [ $osreldate -ge 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi

exit 0
2 changes: 1 addition & 1 deletion lang/perl5.14/Makefile
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

PORTNAME= perl
PORTVERSION= ${PERL_VER}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
9 changes: 9 additions & 0 deletions lang/perl5.14/pkg-install
Original file line number Diff line number Diff line change
@@ -9,5 +9,14 @@ INCLUDEDIR=/usr/include
install -d ${SITE_PERL}/${PERL_ARCH}
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h

if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
osreldate=`/sbin/sysctl -n kern.osreldate`
else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi

if [ $osreldate -ge 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi

exit 0
2 changes: 1 addition & 1 deletion lang/perl5.16/Makefile
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

PORTNAME= perl
PORTVERSION= ${PERL_VER}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
9 changes: 9 additions & 0 deletions lang/perl5.16/pkg-install
Original file line number Diff line number Diff line change
@@ -9,5 +9,14 @@ INCLUDEDIR=/usr/include
install -d ${SITE_PERL}/${PERL_ARCH}
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h

if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
osreldate=`/sbin/sysctl -n kern.osreldate`
else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi

if [ $osreldate -ge 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi

exit 0
2 changes: 1 addition & 1 deletion lang/perl5.8/Makefile
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

PORTNAME= perl
PORTVERSION= ${PERL_VER}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
9 changes: 9 additions & 0 deletions lang/perl5.8/pkg-install
Original file line number Diff line number Diff line change
@@ -9,5 +9,14 @@ INCLUDEDIR=/usr/include
install -d ${SITE_PERL}/${PERL_ARCH}
cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h

if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
osreldate=`/sbin/sysctl -n kern.osreldate`
else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi

if [ $osreldate -ge 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi

exit 0

0 comments on commit e9b5bbd

Please sign in to comment.