aboutsummaryrefslogtreecommitdiff
path: root/graphics/php-facedetect
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2010-08-27 18:35:50 +0000
committerAlberto Villa <avilla@FreeBSD.org>2010-08-27 18:35:50 +0000
commitc9c05b2894e9211926de6264bb4b31b04f855e0b (patch)
treed5b10660cedca9a0246e0ddc95c7995027ba97bc /graphics/php-facedetect
parent157f1b5c0db6312c0c18db88b9fa9da6aad11085 (diff)
Notes
Diffstat (limited to 'graphics/php-facedetect')
-rw-r--r--graphics/php-facedetect/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/php-facedetect/Makefile b/graphics/php-facedetect/Makefile
index 6ca9a5e317d2..5eb8bed3ff82 100644
--- a/graphics/php-facedetect/Makefile
+++ b/graphics/php-facedetect/Makefile
@@ -29,7 +29,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS+= --with-facedetect
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+USE_GCC= 4.2+
+.endif
+
post-patch:
@${TOUCH} ${WRKSRC}/cvconfig.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>