pkgsrc/x11/libX11/Makefile

62 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 2011/07/19 13:59:45 joerg Exp $
#
DISTNAME= libX11-1.3.5
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
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --enable-man-pages=3
CONFIGURE_ARGS+= --with-xcb
Update to libX11-1.3.2. 1.3.2: Alan Coopersmith (2): Add man page for Compose file format libX11 1.3.2 Add extra configuration and sanity checks for groff and ps2pdf Add smiley faces to compose sequences. Fix VPATH build of libX11 specs 1.3.1: Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris Move libX11 & XIM/locale specs from xorg-docs Use $(AM_V_GEN) to silence echo commands for generating shadow man pages Fix make distcheck libX11 1.3.1 Split CFLAGS into CPPFLAGS and CFLAGS Include sys/select.h for select() and struct timeval, if it exists configure: quote argument to m4_pattern_forbid Use AM_V_GEN instead of customized macros for AM_SILENT_RULES dolt: add Cygwin to supported platforms Provide _Xsetlocale compat wrappers on Cygwin 1.3: Convert Xkb API man pages to ANSI prototypes XkbSAActionSetCtrls.man: Fix typo in formatting macro XkbQueryExtension.man: Arguments should be pointers XkbSetDeviceButtonActions.man: remove non-existent actions argument Fix version tag in .TH line of several XKB man pages Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS Add AM_SILENT_RULES support for cpp rules for man & nls files Use make rules instead of shell for loops to generate shadow man pages Add perl script to check for duplicate or conflicting compose file entries Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 Bug 24173: libX11 from git fails to build with automake older then 1.11 Add some (Serbian) Cyrillic NFD sequences. man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections man: use __libmansuffix__ instead of 3X11 for references to other pages man/xkb: delete spurious newline in .TH headers Fix wrong typedef on HP-UX (#18998) Don't require xdmcp in configure.ac (#22583) man: XQueryTree may return BadWindow. (#23416) man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) Add XF86TouchpadToggle to XKeysymDB nls: remove duplicate Compose sequences from pt_BR.UTF-8 libX11 1.3 1.2.99.901: nls: add {left,right}wards arrow to compose table Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h Update library version for new symbols Bump to 1.2.99.1 Add generic event cookie handling to libX11. Add utlist.h to the Makefile.am Fix compiler warning 'unused variable qelt' Bump to 1.2.99.901 (1.3 RC1)
2010-01-15 19:55:11 +01:00
CONFIGURE_ARGS+= --disable-specs
PKGCONFIG_OVERRIDE+= x11.pc.in
2010-01-15 22:20:14 +01:00
CONFIGURE_ENV+= FILE_MAN_SUFFIX=5
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
.endif
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
.elif empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
.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"