Files
ports/databases/evolution-data-server/Makefile
T
sthen 25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00

76 lines
2.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.246 2018/10/24 14:27:59 sthen Exp $
# XXX add libphonenumber support when a cpp release is out
COMMENT= unified backend for PIM programs
GNOME_PROJECT= evolution-data-server
GNOME_VERSION= 3.28.5
REVISION= 0
CATEGORIES= databases productivity
SHARED_LIBS += camel-1.2 40.0
SHARED_LIBS += edataserver-1.2 21.0
SHARED_LIBS += ebackend-1.2 7.0
SHARED_LIBS += edataserverui-1.2 3.0
SHARED_LIBS += ebook-contacts-1.2 4.0
SHARED_LIBS += edata-book-1.2 18.0
SHARED_LIBS += ebook-1.2 21.0
SHARED_LIBS += ecal-1.2 18.0
SHARED_LIBS += edata-cal-1.2 21.0
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject db
WANTLIB += gck-1 gcr-base-3 gcr-ui-3 gdata gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 goa-1.0 gobject-2.0 gtk-3
WANTLIB += gweather-3 ical icalss icalvcal icudata icui18n icuuc
WANTLIB += intl javascriptcoregtk-4.0 json-glib-1.0 lber ldap
WANTLIB += m nspr4 nss3 nssutil3 p11-kit pango-1.0 pangocairo-1.0
WANTLIB += plc4 plds4 secret-1 smime3 soup-2.4 sqlite3 ssl3 webkit2gtk-4.0
WANTLIB += xml2 z
COMPILER = base-clang ports-gcc base-gcc
MODULES= devel/cmake \
devel/dconf \
lang/python \
x11/gnome
BUILD_DEPENDS= devel/gperf
LIB_DEPENDS= databases/db/v4 \
databases/openldap \
devel/libgdata \
textproc/libical \
www/webkitgtk4 \
x11/gnome/gcr \
x11/gnome/libgweather \
x11/gnome/online-accounts
MODPY_RUNDEP= No
MODGNOME_TOOLS= gobject-introspection vala
MODGNOME_LDFLAGS= -L${X11BASE}/lib
CONFIGURE_ARGS= -DWITH_KRB5=OFF \
-DWITH_LIBDB_CFLAGS="-I${LOCALBASE}/include/db4" \
-DWITH_LIBDB_LIBS="-L${LOCALBASE}/lib -ldb" \
-DWITH_OPENLDAP=${LOCALBASE} \
-DCMAKE_C_FLAGS="-I${LOCALBASE}/include"
# needs signond, libsignon-glib -- Ubuntu/Meego
CONFIGURE_ARGS += -DENABLE_UOA=OFF
pre-configure:
sed -i 's,/usr/sbin/imapd,${LOCALBASE}/libexec/imapd,g' \
${WRKSRC}/src/camel/providers/imapx/camel-imapx-settings.c
.include <bsd.port.mk>