59f14945e4
Alan Coopersmith (8): Revert "Avoid shadowing variables." If CFLAGS_FOR_BUILD is not set, include CWARNFLAGS in default value makestrs: use strchr() instead of index() makestrs: Replace malloc()+strcpy() calls with strdup() calls makestrs: Replace strcpy()+strcat() calls with snprintf() calls makestrs: Use asprintf() if available unifdef -UCRAY -UCRAY2 libXt 1.1.5 Gaetan Nadon (1): Use $(MKDIR_P) in Makefile.am for better code portability Jon TURNEY (2): Include direct.h header for _getdrives() on Win32 Include unistd.h for getpid() Rob Clark (1): asprintf needs _GNU_SOURCE on some platforms Thierry Reding (1): Fix cross-compilation Thomas Klausner (7): Add missing comma to fix DEBUG build. Use appropriate variable type for vsnprintf return value. Mark non-returning function with appropriate attribute. Ignore test-driver from automake-1.13. Avoid shadowing variables. Fix char vs. unsigned char warnings. Use string.h instead of X11/Xos.h. Yaakov Selkowitz (1): Fix _XtInherit on x86_64 Windows
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2015/05/01 08:44:16 wiz Exp $
|
|
|
|
DISTNAME= libXt-1.1.5
|
|
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
|
|
|
|
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"
|
|
|
|
TOOL_DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"
|
|
|
|
.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"
|