openbsd-ports/devel/libsoup/Makefile
ajacoutot df70d7896b Merge from upstream 01a43ad9824fba77384534c6d588e0e0d653986e
"Due to bug 581342 we want to only negotiate SSL 3.0. Previously we
were telling gnutls to not do TLS1.0 or TLS1.1, but that means with
newer versions of gnutls that support TLS1.2 it would try to negotiate
that instead and generally fail. Fix that by disabling TLS1.2 too
(which works fine even with gnutls versions that don't support TLS1.2
yet)."

https://bugzilla.gnome.org/show_bug.cgi?id=622857
2010-09-01 11:02:26 +00:00

61 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.44 2010/09/01 11:02:26 ajacoutot Exp $
COMMENT-main = SOAP implementation in C
COMMENT-gnome = GNOME specific libsoup parts
GNOME_PROJECT = libsoup
GNOME_VERSION = 2.30.2
PKGNAME-main = ${DISTNAME}
PKGNAME-gnome = ${GNOME_PROJECT}-gnome-${GNOME_VERSION}
REVISION-main = 0
SHARED_LIBS += soup-2.4 2.2 # .4.0
SHARED_LIBS += soup-gnome-2.4 1.1 # .4.0
API_VERSION = 2.4
CATEGORIES = devel
HOMEPAGE = http://live.gnome.org/LibSoup
MULTI_PACKAGES = -main -gnome
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB = gcrypt gpg-error m pcre tasn1 z
LIB_DEPENDS = gio-2.0,glib-2.0,gmodule-2.0,gobject-2.0,gthread-2.0:glib2->=2.22.2:devel/glib2 \
gnutls.>=12::security/gnutls \
xml2.>=7::textproc/libxml
WANTLIB-gnome = ${WANTLIB-main} ORBit-2 dbus-1 dbus-glib-1 sqlite3 eggdbus-1
LIB_DEPENDS-gnome = ${LIB_DEPENDS-main} \
soup-2.4::${BUILD_PKGPATH},-main \
gnome-keyring.>=6:libgnome-keyring-*:x11/gnome/libgnome-keyring \
gconf-2::devel/gconf2 \
proxy::net/libproxy
MODULES = devel/gettext \
x11/gnome
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
--enable-ssl \
--disable-more-warnings \
--disable-gtk-doc
# checking Apache version... 1.3.29 (Unix) (ignoring)
# But this prevents needing apache2 for certain regress tests.
CONFIGURE_ARGS+= --with-apache-httpd="/usr/sbin/httpd"
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS = API_VERSION
NO_REGRESS = Yes
.include <bsd.port.mk>