diff options
author | nork <nork@FreeBSD.org> | 2007-10-08 07:28:24 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2007-10-08 07:28:24 +0800 |
commit | b1fd6628a44dbb095e7f2f72fbe9325103874221 (patch) | |
tree | ae0edef98106ab1a20e99e0392bc8b4abfaed737 | |
parent | 8bf720f1dd08215fb666acbe824d057941faba17 (diff) | |
download | freebsd-ports-gnome-b1fd6628a44dbb095e7f2f72fbe9325103874221.tar.gz freebsd-ports-gnome-b1fd6628a44dbb095e7f2f72fbe9325103874221.tar.zst freebsd-ports-gnome-b1fd6628a44dbb095e7f2f72fbe9325103874221.zip |
make test on PACKAGE_BUILDING.
Suggested by: mi
-rw-r--r-- | graphics/OpenEXR/Makefile | 9 | ||||
-rw-r--r-- | graphics/ilmbase/Makefile | 4 |
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) |