freebsd-ports/graphics/php-facedetect/Makefile
Piotr Kubaj 162e9fa365 graphics/php-facedetect: fix build on GCC architectures
/wrkdirs/usr/ports/graphics/php-facedetect/work-php72/PHP-Facedetect-2a8974b/facedetect.cc:203: error: reference to 'uint32_t' is ambiguous
/usr/include/sys/_stdint.h:66: error: candidates are: typedef __uint32_t uint32_t
/usr/local/include/opencv2/core/cvdef.h:492: error:                 typedef uint32_t cv::uint32_t
2020-11-14 01:37:40 +00:00

28 lines
548 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= facedetect
PORTVERSION= 1.1
PORTREVISION= 10
CATEGORIES= graphics
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= mm@FreeBSD.org
COMMENT= Face detection extension for PHP using OpenCV library
LICENSE= PHP30
LIB_DEPENDS= libopencv_objdetect.so:graphics/opencv
USE_GITHUB= yes
GH_ACCOUNT= infusion
GH_PROJECT= PHP-Facedetect
GH_TAGNAME= 2a8974b
LIBS+= -lopencv_core
USES= compiler:c11 localbase php:ext pkgconfig
CONFIGURE_ARGS+= --with-facedetect
.include <bsd.port.mk>