aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2007-10-08 07:28:24 +0800
committernork <nork@FreeBSD.org>2007-10-08 07:28:24 +0800
commitb1fd6628a44dbb095e7f2f72fbe9325103874221 (patch)
treeae0edef98106ab1a20e99e0392bc8b4abfaed737 /graphics
parent8bf720f1dd08215fb666acbe824d057941faba17 (diff)
downloadfreebsd-ports-gnome-b1fd6628a44dbb095e7f2f72fbe9325103874221.tar.gz
freebsd-ports-gnome-b1fd6628a44dbb095e7f2f72fbe9325103874221.tar.zst
freebsd-ports-gnome-b1fd6628a44dbb095e7f2f72fbe9325103874221.zip
make test on PACKAGE_BUILDING.
Suggested by: mi
Diffstat (limited to 'graphics')
-rw-r--r--graphics/OpenEXR/Makefile9
-rw-r--r--graphics/ilmbase/Makefile4
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index 31bfe16c6dfd..50192885d63e 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -26,6 +26,13 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--enable-imfexamples
-WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+test check: build
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+
+.if defined(PACKAGE_BUILDING)
+pre-install: test
+.endif
.include <bsd.port.mk>
diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile
index f4a5be99b26b..997c6361a1bc 100644
--- a/graphics/ilmbase/Makefile
+++ b/graphics/ilmbase/Makefile
@@ -25,6 +25,10 @@ USE_AUTOTOOLS= libtool:15
test check: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+.if defined(PACKAGE_BUILDING)
+pre-install: test
+.endif
+
.include <bsd.port.pre.mk>
.if defined(WITH_THREAD)