1b16459e51
- fix a use after free - fix integer overflow on 32bit
74 lines
1.7 KiB
Makefile
74 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.60 2011/06/29 19:21:46 jasper Exp $
|
|
|
|
COMMENT-main = SOAP implementation in C
|
|
COMMENT-gnome = GNOME specific libsoup parts
|
|
|
|
GNOME_PROJECT = libsoup
|
|
GNOME_VERSION = 2.34.2
|
|
|
|
REVISION-main = 0
|
|
|
|
PKGNAME-main = ${DISTNAME}
|
|
PKGNAME-gnome = ${GNOME_PROJECT}-gnome-${GNOME_VERSION}
|
|
|
|
SHARED_LIBS += soup-2.4 3.0 # .4.0
|
|
SHARED_LIBS += soup-gnome-2.4 1.1 # .4.0
|
|
|
|
API_VERSION = 2.4
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://live.gnome.org/LibSoup
|
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
WANTLIB += m pcre xml2 z
|
|
|
|
MULTI_PACKAGES = -main -gnome
|
|
|
|
BUILD_DEPENDS = devel/gobject-introspection
|
|
|
|
RUN_DEPENDS = net/glib2-networking
|
|
|
|
LIB_DEPENDS = devel/glib2>=2.22.2 \
|
|
textproc/libxml
|
|
|
|
WANTLIB-gnome = ${WANTLIB-main} dbus-1 sqlite3 \
|
|
soup-2.4 gnome-keyring>=6 gcrypt gpg-error
|
|
|
|
RUN_DEPENDS-gnome= ${MODGETTEXT_RUN_DEPENDS}
|
|
LIB_DEPENDS-gnome = ${LIB_DEPENDS-main} \
|
|
${BUILD_PKGPATH},-main \
|
|
x11/gnome/libgnome-keyring \
|
|
databases/sqlite3
|
|
|
|
MODULES = devel/gettext \
|
|
x11/gnome
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
--disable-gtk-doc \
|
|
--disable-more-warnings \
|
|
--disable-tls-check \
|
|
--enable-introspection
|
|
# 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>
|