5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
26 lines
731 B
Makefile
26 lines
731 B
Makefile
# $NetBSD: Makefile,v 1.24 2018/07/04 13:40:35 jperkin Exp $
|
|
|
|
PKGNAME= qca2-gnupg-${DISTNAME:C/.*-//}
|
|
PKGREVISION= 1
|
|
|
|
COMMENT= Cross-platform crypto API for QT - GnuPG plugin
|
|
|
|
.include "../../security/qca2/Makefile.common"
|
|
|
|
DEPENDS+= gnupg2-[0-9]*:../../security/gnupg2
|
|
|
|
BUILD_DIRS= plugins/qca-gnupg
|
|
|
|
CMAKE_ARGS+= -DQT4_BUILD=ON
|
|
CMAKE_ARGS+= -DBUILD_PLUGINS=gnupg
|
|
CMAKE_ARGS+= -DBUILD_TOOLS=OFF
|
|
CMAKE_ARGS+= -DINST_QCA_LIB_NAME=-lqca
|
|
|
|
SUBST_CLASSES+= libname
|
|
SUBST_STAGE.libname= pre-configure
|
|
SUBST_MESSAGE.libname= Use installed lib.
|
|
SUBST_FILES.libname= plugins/qca-gnupg/CMakeLists.txt
|
|
SUBST_SED.libname= -e 's:{QCA_LIB_NAME}:{INST_QCA_LIB_NAME}:'
|
|
|
|
.include "../../security/qca2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|