a2aec03d21
at the time of use. Fixes SSL detection on DragonFly. Problem noted by walt <wa1ter@myrealbox.com> on DragonFly's submit list.
78 lines
2.7 KiB
Makefile
78 lines
2.7 KiB
Makefile
# $NetBSD: Makefile,v 1.46 2006/09/11 09:33:33 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= evolution-data-server-1.6.3
|
|
PKGREVISION= 1
|
|
CATEGORIES= mail gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evolution-data-server/1.6/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://www.gnome.org/projects/evolution/
|
|
COMMENT= Evolution data server
|
|
|
|
BUILDLINK_API_DEPENDS.libsoup-devel+= libsoup-devel>=2.2.3
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_DIRS+= xdg-1.1
|
|
USE_TOOLS+= bison gmake intltool msgfmt pkg-config
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= YES
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.evolution-data-server
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ENV+= PTHREAD_LIB="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
|
|
|
|
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.6.2)
|
|
.include "../../devel/pthread-sem/buildlink3.mk"
|
|
LIBS+= -lsemaphore
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
|
CONFIGURE_ARGS+= --with-nspr-includes=${BUILDLINK_PREFIX.nspr}/include/nspr
|
|
CONFIGURE_ARGS+= --with-nspr-libs=${BUILDLINK_PREFIX.nspr}/lib
|
|
CONFIGURE_ARGS+= --with-nss-includes=${BUILDLINK_PREFIX.nss}/include/nss/nss
|
|
CONFIGURE_ARGS+= --with-nss-libs=${BUILDLINK_PREFIX.nss}/lib
|
|
CONFIGURE_ARGS+= --with-openldap
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
PKGCONFIG_OVERRIDE+= addressbook/libebook/libebook.pc.in
|
|
PKGCONFIG_OVERRIDE+= addressbook/libedata-book/libedata-book.pc.in
|
|
PKGCONFIG_OVERRIDE+= calendar/libecal/libecal.pc.in
|
|
PKGCONFIG_OVERRIDE+= calendar/libedata-cal/libedata-cal.pc.in
|
|
PKGCONFIG_OVERRIDE+= camel/camel.pc.in
|
|
PKGCONFIG_OVERRIDE+= camel/camel-provider.pc.in
|
|
PKGCONFIG_OVERRIDE+= libedataserver/libedataserver.pc.in
|
|
PKGCONFIG_OVERRIDE+= libedataserverui/libedataserverui.pc.in
|
|
PKGCONFIG_OVERRIDE+= servers/groupwise/libegroupwise.pc.in
|
|
PKGCONFIG_OVERRIDE+= evolution-data-server.pc.in
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-ldl
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.include "../../devel/GConf2/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/libbonobo/buildlink3.mk"
|
|
.include "../../devel/libglade2/buildlink3.mk"
|
|
.include "../../devel/libgnome/buildlink3.mk"
|
|
.include "../../devel/libgnomeui/buildlink3.mk"
|
|
.include "../../devel/nss/buildlink3.mk"
|
|
.include "../../net/libsoup-devel/buildlink3.mk"
|
|
.include "../../net/ORBit2/buildlink3.mk"
|
|
.include "../../sysutils/gnome-vfs2/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|