pkgsrc-wip/libX11/Makefile
David Brownlee 85699404be Update for jlam's pkg-config changes.
Note these changes have not all been tested, so it is quite possible
that some are necessary but not sufficient.
2005-08-11 10:08:21 +00:00

36 lines
960 B
Makefile

# $NetBSD: Makefile,v 1.19 2005/08/11 10:08:22 absd Exp $
#
DISTNAME= libX11-6.2.1
CATEGORIES= x11 devel
MASTER_SITES= http://freedesktop.org/~xlibs/release/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://xlibs.freedesktop.org/Software/X11
COMMENT= Base X libraries from freedesktop.org
CONFLICTS+= XFree86-libs-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= x11.pc.in
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
# XXX need to test this and see how PLIST changes
CONFIGURE_ARGS+= --disable-xthreads
.else
CONFIGURE_ENV+= XTHREADS_LIBS=${BUILDLINK_LDADD.pthread}
.endif
.include "../../x11/xextensions/buildlink3.mk"
.include "../../wip/xproto/buildlink3.mk"
.include "../../wip/xtrans/buildlink3.mk"
.include "../../wip/libXau/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"