This release provides the fixes for the recently announced security issues CVE-2013-2002 & CVE-2013-2005, along with other code & doc cleanups, build fixes, automake compatibility changes, and packaging improvements. Adam Jackson (1): configure: Remove AM_MAINTAINER_MODE Alan Coopersmith (5): unifdef -U__UNIXOS2__ Unchecked return values of XGetWindowProperty [CVE-2013-2005] unvalidated length in _XtResourceConfigurationEH [CVE-2013-2002] Remove old strtoul workaround for SunOS 4 libXt 1.1.4 Colin Walters (1): autogen.sh: Implement GNOME Build API Egbert Eich (2): Install ErrorDB into a $datarootdir-path, not $libdir. Add XtErrorDB directory to pkg-config file. Eric S. Raymond (2): Eliminate use of tab stops. Remove unused macros that are temptations to presentation-level klugery. Julien Cristau (1): Add copyright notice and license from the X Consortium to COPYING Thierry Reding (1): Use AM_CPPFLAGS instead of INCLUDES Thomas Klausner (2): Avoid referencing something that isn't defined. Bring in the definition from another manual page. Fix DEBUG build (TMparse.c:376:1: error: overflow in implicit constant conversion)
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2013/05/31 08:27:17 wiz Exp $
|
|
|
|
DISTNAME= libXt-1.1.4
|
|
CATEGORIES= x11 devel
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= X Toolkit Intrinsics library
|
|
LICENSE= mit
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CONFIGURE_ARGS+= --with-appdefaultdir=${PREFIX}/lib/X11/app-defaults
|
|
CONFIGURE_ENV+= APP_MAN_SUFFIX=1 LIB_MAN_SUFFIX=3
|
|
PKGCONFIG_OVERRIDE+= xt.pc.in
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --disable-malloc0returnsnull
|
|
.endif
|
|
|
|
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
|
|
CONFIGURE_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/libSM/buildlink3.mk"
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/kbproto/buildlink3.mk"
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|