openbsd-ports/x11/gnustep/base/Makefile
jasper 6340604ad6 - update gnustep-base to 1.20.0
* fixes security issues in gdomapwhich could lead to an integer overflow and
information disclosure (CVE-2010-1457 and CVE-2010-1620)

ok aja@ (MAINTAINER)
2010-05-12 16:43:47 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2010/05/12 16:43:47 jasper Exp $
COMMENT= GNUstep base library
DISTNAME= gnustep-base-1.20.0
SHARED_LIBS= gnustep-base 3.0 # .1.16.4
CATEGORIES= devel
LIBDIR= lib/GNUstep/Libraries/gnustep-base/Versions/${LIBgnustep-base_VERSION}
SUBST_VARS= LIBDIR
HOMEPAGE= http://www.gnustep.org/
WANTLIB += c crypto gcrypt m objc pthread ssl xml2 z
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "amd64"
WANTLIB += iberty
.endif
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
MODULES= x11/gnustep \
converters/libiconv
LIB_DEPENDS= ffi::devel/libffi \
gmp.>=7::devel/gmp \
xslt.>=3::textproc/libxslt \
gnutls.>=13::security/gnutls \
dns_sd::net/avahi
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/avahi-compat-libdns_sd" \
LDFLAGS="-pthread"
CONFIGURE_ARGS= --disable-procfs \
--disable-procfs-psinfo
CFLAGS+= -pthread
pre-configure:
@perl -pi -e 's,^MAJOR_VERSION=.*,MAJOR_VERSION=${LIBgnustep-base_VERSION:R},g;' \
-e 's,^MINOR_VERSION=.*,MINOR_VERSION=${LIBgnustep-base_VERSION:E},g' \
${WRKSRC}/Version
post-install:
@rm ${PREFIX}/lib/GNUstep/Libraries/gnustep-base/Versions/${LIBgnustep-base_VERSION}/Resources/NSTimeZones/.README.swp
.include <bsd.port.mk>