2009-02-21 17:48:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2009/02/21 16:48:20 wiz Exp $
|
2006-11-03 19:19:58 +01:00
|
|
|
#
|
|
|
|
|
2009-02-21 17:48:20 +01:00
|
|
|
DISTNAME= libXext-1.0.5
|
2006-11-03 19:19:58 +01:00
|
|
|
CATEGORIES= x11 devel
|
2008-05-24 23:45:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
|
2006-11-03 19:19:58 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
|
|
COMMENT= X Extension library
|
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= xext.pc.in
|
|
|
|
|
2007-07-03 15:35:49 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
CONFIGURE_ARGS+= --disable-malloc0returnsnull
|
|
|
|
.endif
|
|
|
|
|
2008-05-16 15:48:41 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mhp)
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
|
|
|
|
.endif
|
|
|
|
|
2009-02-21 17:48:20 +01:00
|
|
|
BUILDLINK_API_DEPENDS.libX11+= libX11>=1.2
|
2006-11-03 19:19:58 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2009-02-21 17:48:20 +01:00
|
|
|
BUILDLINK_API_DEPENDS.xextproto+= xextproto>=7.0.5
|
2006-11-03 19:19:58 +01:00
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|