[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / fixesproto

File: [cvs.NetBSD.org] / pkgsrc / x11 / fixesproto / Attic / buildlink3.mk (download)

Revision 1.10, Thu Jun 18 21:48:52 2015 UTC (8 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.9: +3 -2 lines

Look for native fixesproto.pc in ${X11BASE}/share/pkgconfig, fixing
detection and bulk build impossibilities on EL6 and clones.

# $NetBSD: buildlink3.mk,v 1.10 2015/06/18 21:48:52 jperkin Exp $

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

.if ${X11_TYPE} != "modular" && \
	!exists(${X11BASE}/lib/pkgconfig/fixesproto.pc) && \
	!exists(${X11BASE}/lib${LIBABISUFFIX}/pkgconfig/fixesproto.pc) && \
	!exists(${X11BASE}/share/pkgconfig/fixesproto.pc)
.include "../../x11/fixesproto4/buildlink3.mk"
.else

BUILDLINK_DEPMETHOD.fixesproto?=	build

BUILDLINK_TREE+=	fixesproto

.if !defined(FIXESPROTO_BUILDLINK3_MK)
FIXESPROTO_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.fixesproto+=	fixesproto>=4.0.0
BUILDLINK_PKGSRCDIR.fixesproto?=	../../x11/fixesproto

.  if !defined(USE_BUILTIN.fixesproto)
CHECK_BUILTIN.fixesproto:=	yes
.include "../../x11/fixesproto/builtin.mk"
CHECK_BUILTIN.fixesproto:=	no
.  endif

.  if !empty(USE_BUILTIN.fixesproto:M[Nn][Oo])
BUILDLINK_API_DEPENDS.xextproto+=	xextproto>=7.0.99.1
.  endif

.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.endif # FIXESPROTO_BUILDLINK3_MK

BUILDLINK_TREE+=	-fixesproto

.endif