aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.10
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-07-25 19:25:11 +0800
committertobez <tobez@FreeBSD.org>2004-07-25 19:25:11 +0800
commit4a498e8bf832a4656f174c3b5a3ab85768073033 (patch)
tree9a019f7dd9d81eccb19100962f4ea69bef378abf /lang/perl5.10
parent36da57e62880ab076d9331b6ed1c4f8b66f83f9b (diff)
downloadfreebsd-ports-gnome-4a498e8bf832a4656f174c3b5a3ab85768073033.tar.gz
freebsd-ports-gnome-4a498e8bf832a4656f174c3b5a3ab85768073033.tar.zst
freebsd-ports-gnome-4a498e8bf832a4656f174c3b5a3ab85768073033.zip
Add a knob WITHOUT_PERL_64BITINT. This is primarily intended for those
who wish to keep compatibility with files generated by Storable::store from a previous version of perl, and were unlucky enough to not use portable Storable::nstore instead. Submitted by: kuriyama
Diffstat (limited to 'lang/perl5.10')
-rw-r--r--lang/perl5.10/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index 9867d4a1752a..a148164bc5c0 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/Makefile
@@ -7,6 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
+PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
@@ -32,7 +33,6 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dprivlib=${PREFIX}/lib/perl5/${PERL_VER} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/perl/man/man3 \
-Dman1dir=${PREFIX}/man/man1 \
- -Duse64bitint \
-Dsitearch=${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/${SITE_PERL_REL} -Dscriptdir=${PREFIX}/bin \
-Dsiteman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
@@ -85,6 +85,10 @@ CONFIGURE_ARGS+= -Dusemymalloc=y
CONFIGURE_ARGS+= -Dusemymalloc=n
.endif
+.if !defined(WITHOUT_PERL_64BITINT)
+CONFIGURE_ARGS+= -Duse64bitint
+.endif
+
.if ${OSVERSION} < 502100
LATEST_LINK= perl5.8
.else