libalkimia and its dependent kmymoney require the C++ template code in

gmpxx.h but do not link with libgmpxx, so add devel/gmp,-cxx to both
build and run depends.
This commit is contained in:
naddy 2018-11-03 14:46:02 +00:00
parent f4b87b4457
commit ff4cf372bf

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2018/11/02 18:56:50 naddy Exp $
# $OpenBSD: Makefile,v 1.10 2018/11/03 14:46:02 naddy Exp $
COMMENT = common classes for finance KDE 4 apps
CATEGORIES = productivity x11
HOMEPAGE = http://kmymoney2.sourceforge.net
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
V = 5.0.0
DISTNAME = libalkimia-$V
REVISION = 1
REVISION = 2
SHARED_LIBS = alkimia 1.0 # 5.0
@ -21,10 +21,14 @@ MODULES = x11/kde4
MODKDE4_USE =
KDE4_ONLY = Yes
BUILD_DEPENDS = ${MODKDE4_DEP_DIR}/libs \
devel/gmp,-cxx
BUILD_DEPENDS = ${MODKDE4_DEP_DIR}/libs
LIB_DEPENDS = devel/gmp
# libalkimia and its dependent kmymoney require the C++ template code in
# gmpxx.h but do not link with libgmpxx
BUILD_DEPENDS += devel/gmp,-cxx
RUN_DEPENDS += devel/gmp,-cxx
CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:Bool=Yes
CXXFLAGS += -I${LOCALBASE}/include
LDFLAGS += -L${LOCALBASE}/lib