summaryrefslogtreecommitdiff
path: root/lang/perl5.12/Makefile
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2004-07-25 11:25:11 +0000
committerAnton Berezin <tobez@FreeBSD.org>2004-07-25 11:25:11 +0000
commitb31620559808ae031d32b7af6855269b779dea9d (patch)
tree16cb3c000c7345b8bdc1287042f4d8a8da04d50d /lang/perl5.12/Makefile
parentInstall tutorial under DOCSDIR (diff)
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
Notes
Notes: svn path=/head/; revision=114645
Diffstat (limited to 'lang/perl5.12/Makefile')
-rw-r--r--lang/perl5.12/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index 9867d4a1752a..a148164bc5c0 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/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