[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / libX11

File: [cvs.NetBSD.org] / pkgsrc / x11 / libX11 / Makefile (download)

Revision 1.67, Wed Nov 9 13:14:20 2022 UTC (2 months, 4 weeks ago) by joerg
Branch: MAIN
Changes since 1.66: +2 -2 lines

Reset MAINTAINER

# $NetBSD: Makefile,v 1.67 2022/11/09 13:14:20 joerg Exp $

DISTNAME=		libX11-1.8.1
CATEGORIES=		x11 devel
MASTER_SITES=		${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://xorg.freedesktop.org/
COMMENT=		Base X libraries from modular Xorg X11
LICENSE=		mit

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake pkg-config

CONFIGURE_ARGS+=	--disable-specs
PKGCONFIG_OVERRIDE+=	x11.pc.in

CONFIGURE_ENV+=		FILE_MAN_SUFFIX=5

.include "../../mk/pthread.buildlink3.mk"
CPPFLAGS.OSF1+=		${PTHREAD_CFLAGS} # Required by compiler if including pthread.h
CPPFLAGS.MirBSD+=	${PTHREAD_CFLAGS}
LDFLAGS.MirBSD+=	${PTHREAD_LDFLAGS}
LDFLAGS.OpenBSD+=	${PTHREAD_LDFLAGS}

BUILDLINK_API_DEPENDS.libxcb+=	libxcb>=1.11.1

TOOL_DEPENDS+=		tradcpp-[0-9]*:../../devel/tradcpp
CONFIGURE_ENV+=		ac_cv_path_RAWCPP="${PREFIX}/bin/tradcpp -Uunix"

.include "../../mk/bsd.prefs.mk"

.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+=		xorgproto-[0-9]*:../../x11/xorgproto
.endif

X11_LIB_NAME?=		libX11
.include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../x11/libXdmcp/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"