(graphics/opencv-contrib-face) Fix build: Remove non-effective SUBST block

This commit is contained in:
mef 2020-05-24 14:17:33 +00:00
parent 32ae9e0eb8
commit 1aa7a88468

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2020/05/21 20:53:37 ryoon Exp $
# $NetBSD: Makefile,v 1.19 2020/05/24 14:17:33 mef Exp $
PKGREVISION= 1
.include "../../graphics/opencv/Makefile.common"
@ -12,15 +12,6 @@ COMMENT= OpenCV face recognition contributed module
DISTFILES= ${DEFAULT_DISTFILES} opencv-${PKGVERSION_NOREV}${EXTRACT_SUFX}
# This is ugly, but we shouldn't let optional code download
# at configure time. Especially when it needs to be patched
# because of lame coding.
SUBST_CLASSES+= tnn
SUBST_FILES.tnn= ${WRKDIR}/${DISTNAME}/modules/dnn_modern/CMakeLists.txt
SUBST_MESSAGE.tnn= Disabling build-time fetch
SUBST_STAGE.tnn= pre-configure
SUBST_SED.tnn= -e 's,3.2,999,'
INSTALL_DIRS= build/modules/face build/modules/plot build/modules/tracking
WRKSRC= ${WRKDIR}/opencv-${PKGVERSION_NOREV}