pkgsrc/x11/libFS/Makefile
joerg 66c975189b When cross-compiling configure can't detect automatically
whether malloc(0) != NULL. Tell it that on NetBSD it is
always non-NULL.
2007-07-02 12:32:19 +00:00

32 lines
763 B
Makefile

# $NetBSD: Makefile,v 1.3 2007/07/02 12:32:19 joerg Exp $
#
DISTNAME= libFS-1.0.0
CATEGORIES= x11 devel
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= X Font Server Interface Library
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= libfs.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
.include "../../x11/fontsproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"