Do not clobber CC from the qt5 module, the build framework uses CC=@CXX@.

This means C++ code will be linked with c++(1) and lld will be happy.
This commit is contained in:
naddy 2018-11-09 23:23:35 +00:00
parent a4ea42e298
commit 49670c1200

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.22 2018/09/14 16:02:37 sthen Exp $
# $OpenBSD: Makefile,v 1.23 2018/11/09 23:23:35 naddy Exp $
COMMENT= create and manage certificates, CSRs, keys, etc
V= 2.1.1
DISTNAME= xca-$V
REVISION= 0
CATEGORIES= security x11
HOMEPAGE= https://hohnstaedt.de/xca/
@ -13,7 +14,7 @@ MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Sql Qt5Widgets c crypto ltdl
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Sql Qt5Widgets c crypto ltdl m
MASTER_SITES= https://github.com/chris2511/xca/releases/download/RELEASE.${V}/
@ -37,3 +38,6 @@ RUN_DEPENDS= devel/desktop-file-utils \
NO_TEST= Yes
.include <bsd.port.mk>
# do not clobber CC from the qt5 module, the build framework uses CC=@CXX@
MAKE_FLAGS:= ${MAKE_FLAGS:NCC=*}