From b4617474ee0646cfdfa81e26b27d7b5d9986e323 Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Mon, 26 Jan 2009 16:30:12 +0000 Subject: [PATCH] Add "regression-test" make target. --- lang/perl5.10/Makefile | 8 +++++--- lang/perl5.12/Makefile | 8 +++++--- lang/perl5.14/Makefile | 8 +++++--- lang/perl5.16/Makefile | 8 +++++--- lang/perl5.8/Makefile | 8 +++++--- 5 files changed, 25 insertions(+), 15 deletions(-) diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile index d518fbe4af74..3f49e3ead10e 100644 --- a/lang/perl5.10/Makefile +++ b/lang/perl5.10/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' | \ 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' | \ diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile index d518fbe4af74..3f49e3ead10e 100644 --- a/lang/perl5.14/Makefile +++ b/lang/perl5.14/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' | \ diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index d518fbe4af74..3f49e3ead10e 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/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' | \ 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' | \