2008-05-24 23:45:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2008/05/24 21:45:15 tnn Exp $
|
2006-11-03 19:11:18 +01:00
|
|
|
#
|
|
|
|
|
2008-04-17 14:33:56 +02:00
|
|
|
DISTNAME= libX11-1.1.4
|
2008-04-24 09:45:49 +02:00
|
|
|
PKGREVISION= 1
|
2006-11-03 19:11:18 +01:00
|
|
|
CATEGORIES= x11 devel
|
2008-05-24 23:45:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
|
2006-11-03 19:11:18 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
|
|
COMMENT= Base X libraries from modular Xorg X11
|
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-man-pages=3
|
2007-01-23 20:47:53 +01:00
|
|
|
CONFIGURE_ARGS+= --without-xcb
|
2006-11-03 19:11:18 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= x11.pc.in
|
|
|
|
|
2007-07-03 15:35:49 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
CONFIGURE_ARGS+= --disable-malloc0returnsnull
|
|
|
|
.endif
|
|
|
|
|
2007-08-01 18:50:24 +02:00
|
|
|
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
|
2007-08-01 18:46:16 +02:00
|
|
|
MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
|
|
|
|
.endif
|
|
|
|
|
2008-05-24 22:15:46 +02:00
|
|
|
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
|
|
|
|
|
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
|
|
|
|
|
2006-11-03 19:11:18 +01:00
|
|
|
.include "../../x11/bigreqsproto/buildlink3.mk"
|
|
|
|
.include "../../x11/inputproto/buildlink3.mk"
|
|
|
|
.include "../../x11/kbproto/buildlink3.mk"
|
|
|
|
.include "../../x11/libXau/buildlink3.mk"
|
|
|
|
.include "../../x11/libXdmcp/buildlink3.mk"
|
|
|
|
.include "../../x11/xcmiscproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86bigfontproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xtrans/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|