aboutsummaryrefslogtreecommitdiff
path: root/graphics/OpenEXR
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/OpenEXR')
-rw-r--r--graphics/OpenEXR/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index 50192885d63e..17373300575b 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -31,8 +31,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
test check: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
-.if defined(PACKAGE_BUILDING)
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${ARCH} != sparc64
pre-install: test
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>