aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.8
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2009-01-26 16:30:12 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2009-01-26 16:30:12 +0000
commitb4617474ee0646cfdfa81e26b27d7b5d9986e323 (patch)
tree861a85a1f63e8170be413a0168e0cac6824965f1 /lang/perl5.8
parentf871a9d64e8904698810d09afe9b46c4584933c6 (diff)
downloadports-b4617474ee0646cfdfa81e26b27d7b5d9986e323.tar.gz
ports-b4617474ee0646cfdfa81e26b27d7b5d9986e323.zip
Add "regression-test" make target.
Notes
Notes: svn path=/head/; revision=226895
Diffstat (limited to 'lang/perl5.8')
-rw-r--r--lang/perl5.8/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile
index d518fbe4af74..3f49e3ead10e 100644
--- a/lang/perl5.8/Makefile
+++ b/lang/perl5.8/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' | \