aboutsummaryrefslogtreecommitdiff
path: root/graphics/php-facedetect
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-06-11 14:49:59 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-06-11 14:49:59 +0000
commit9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92 (patch)
treec4f78cbaf45ab044db3e157be708afd711a4e841 /graphics/php-facedetect
parent0533abe3e7aae5c19e0a0ce9c1e82ed5e94f63e8 (diff)
Notes
Diffstat (limited to 'graphics/php-facedetect')
-rw-r--r--graphics/php-facedetect/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/php-facedetect/Makefile b/graphics/php-facedetect/Makefile
index 11dad0f92561..1b52061d7699 100644
--- a/graphics/php-facedetect/Makefile
+++ b/graphics/php-facedetect/Makefile
@@ -18,16 +18,14 @@ LIB_DEPENDS= libopencv_objdetect.so:${PORTSDIR}/graphics/opencv
GITVERSION= 4b1dfe1
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-LIBS+= -lopencv_core
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib -lopencv_core
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
CONFIGURE_ARGS+= --with-facedetect
-CONFIGURE_ENV+= LIBS="${LIBS}"
NO_STAGE= yes
.include <bsd.port.pre.mk>