aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.12
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2009-01-27 00:30:12 +0800
committerskv <skv@FreeBSD.org>2009-01-27 00:30:12 +0800
commit265f14cb57ca88b4040c1a0885a225500c9bde01 (patch)
tree381c0f73c96213dc48ad254fc626ea1ab3073ba2 /lang/perl5.12
parent9eb53cb182a15fe065b509fb4a030df19db0ecda (diff)
downloadfreebsd-ports-gnome-265f14cb57ca88b4040c1a0885a225500c9bde01.tar.gz
freebsd-ports-gnome-265f14cb57ca88b4040c1a0885a225500c9bde01.tar.zst
freebsd-ports-gnome-265f14cb57ca88b4040c1a0885a225500c9bde01.zip
Add "regression-test" make target.
Diffstat (limited to 'lang/perl5.12')
-rw-r--r--lang/perl5.12/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index d518fbe4af74..3f49e3ead10e 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/Makefile
@@ -136,9 +136,6 @@ MAN3+= GDBM_File.3
.endif
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
-test:
- @(cd ${WRKSRC}; make test)
-
BSDPAN_DEST= ${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN
BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \
ExtUtils/MM_Unix.pm \
@@ -192,6 +189,11 @@ post-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
+test: build
+ @(cd ${WRKSRC}; make test)
+
+regression-test: test
+
rebuild-xs:
${LOCALBASE}/sbin/portupgrade -f `(${FIND} ${PKG_DBDIR}/p5*/+CONTENTS | \
${XARGS} ${GREP} -El 'site_perl.*\.so' | \