62 lines
1.8 KiB
Makefile
62 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.36 2014/04/29 10:27:33 obache Exp $
|
|
|
|
DISTNAME= libX11-1.6.2
|
|
CATEGORIES= x11 devel
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= Base X libraries from modular Xorg X11
|
|
LICENSE= mit
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
CONFIGURE_ARGS+= --enable-man-pages=3
|
|
CONFIGURE_ARGS+= --with-xcb
|
|
CONFIGURE_ARGS+= --disable-specs
|
|
PKGCONFIG_OVERRIDE+= x11.pc.in
|
|
|
|
CONFIGURE_ENV+= FILE_MAN_SUFFIX=5
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --disable-malloc0returnsnull
|
|
.endif
|
|
|
|
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
|
|
CPPFLAGS.MirBSD+= -pthread
|
|
LDFLAGS.MirBSD+= -pthread
|
|
|
|
BUILDLINK_API_DEPENDS.libxcb+=libxcb>=1.8.1
|
|
BUILDLINK_API_DEPENDS.xproto+=xproto>=7.0.17
|
|
|
|
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
|
|
|
|
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
|
|
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
|
|
|
|
# XXX This needs to match the version of xcb-proto we get for the
|
|
# target by buildlink3.
|
|
TOOL_DEPENDS+= xproto-[0-9]*:../../x11/xproto
|
|
.endif
|
|
|
|
.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/libxcb/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"
|