pkgsrc-wip/libX11/Makefile
Jeremy C. Reed 557d879324 Updated to modular X.org version (release candidate 2) from
release candidate 1. (Not listing changes -- this is a work in progress.)
Various man pages added.

Add comment in buildlink3.mk (include libXdmcp).
2005-11-12 02:09:01 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2005/11/12 02:09:01 jeremy-c-reed Exp $
#
# todo: do PLIST again
DISTNAME= libX11-0.99.3
CATEGORIES= x11 devel
MASTER_SITES= http://xorg.freedesktop.org/releases/X11R7.0-RC2/lib/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= Base X libraries from modular Xorg X11
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
#CONFIGURE_ENV+= LIBMAN_SUFFIX=3 # instead of 3x
CONFIGURE_ARGS+= --enable-man-pages=3 # instead of 3x
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}
CPPFLAGS+= -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_REENTRANT
# -DXUSE_MTSAFE_API redefined? maybe not needed
.endif
.include "../../wip/bigreqsproto/buildlink3.mk"
.include "../../wip/inputproto/buildlink3.mk"
.include "../../wip/kbproto/buildlink3.mk"
.include "../../wip/libXau/buildlink3.mk"
.include "../../wip/libXdmcp/buildlink3.mk"
.include "../../wip/xcmiscproto/buildlink3.mk"
.include "../../wip/xextproto/buildlink3.mk"
.include "../../wip/xf86bigfontproto/buildlink3.mk"
.include "../../wip/xproto/buildlink3.mk"
.include "../../wip/xtrans/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"