openbsd-ports/x11/gnustep/base/Makefile
sebastia f36edb6962 update gnustep-base to 1.22.1.
getting rid of two patches that made it into upstream.
Add a patch that disables the generation of backtraces, when trying to
handle exceptions, which caused hangs and 100% CPU hogging.
This makes many GNUstep applications happy, hopefully finding a better
way soon.

OK landry@
2011-07-19 06:29:09 +00:00

46 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.39 2011/07/19 06:29:09 sebastia Exp $
COMMENT= GNUstep base library
DISTNAME= gnustep-base-1.22.1
SHARED_LIBS= gnustep-base 4.0
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 ffi gmp xslt gnutls
WANTLIB += avahi-client avahi-common icudata icui18n icuuc
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "amd64"
WANTLIB += iberty
.endif
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
MODULES= x11/gnustep \
converters/libiconv
MODGNUSTEP_NEEDS_GUI= No
MODGNUSTEP_NEEDS_BASE= No
LIB_DEPENDS += devel/libffi \
devel/gmp \
textproc/libxslt \
security/gnutls \
textproc/icu4c \
net/avahi
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS += --disable-procfs \
--disable-procfs-psinfo
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
.include <bsd.port.mk>