openbsd-ports/x11/libdbus-c++/Makefile
jca b24fb0b4e0 Use upstream fix for operator overloading.
Adds two symbols previously undefined on ld.lld archs, and fixes build
with ld.bfd on sparc64 (and probably powerpc).  ok stsp@
2020-04-09 13:26:13 +00:00

39 lines
807 B
Makefile

# $OpenBSD: Makefile,v 1.4 2020/04/09 13:26:13 jca Exp $
COMMENT = C++ API for dbus
DISTNAME = libdbus-c++-0.9.0
REVISION = 0
SHARED_LIBS = dbus-c++-1 0.1 \
dbus-c++-glib-1 0.0
CATEGORIES = x11 devel
HOMEPAGE = http://dbus-cplusplus.sourceforge.net/
# LGPLv2.1+
PERMIT_PACKAGE = Yes
WANTLIB = ${COMPILER_LIBCXX} c dbus-1 expat glib-2.0 iconv \
intl m pcre
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dbus-cplusplus/}
LIB_DEPENDS = devel/glib2 \
x11/dbus
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-ecore \
--enable-glib \
--disable-doxygen-docs \
--enable-tests \
--disable-examples \
--without-build-libdbus-cxx
COMPILER = base-clang ports-gcc base-gcc
USE_GMAKE = Yes
SEPARATE_BUILD = Yes
do-test:
${WRKBUILD}/test/functional/Test1/TestApp
.include <bsd.port.mk>