From 4803dd83ea8117e95ef0cbd004bdccb643e5ebb5 Mon Sep 17 00:00:00 2001 From: jmmv Date: Tue, 22 Mar 2005 15:52:35 +0000 Subject: Also check for xextensions.pc to decide whether the builtin library is enough. --- x11/xextensions/builtin.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x11/xextensions') diff --git a/x11/xextensions/builtin.mk b/x11/xextensions/builtin.mk index ab0f16cae1b..a6032c4747e 100644 --- a/x11/xextensions/builtin.mk +++ b/x11/xextensions/builtin.mk @@ -1,10 +1,11 @@ -# $NetBSD: builtin.mk,v 1.1 2005/03/05 18:16:21 wiz Exp $ +# $NetBSD: builtin.mk,v 1.2 2005/03/22 15:52:35 jmmv Exp $ _X11_EXTENSIONS_EXTUTIL_H= ${X11BASE}/include/X11/extensions/extutil.h +_X11_EXTENSIONS_PC= ${X11BASE}/lib/pkgconfig/xextensions.pc .if !defined(IS_BUILTIN.xextensions) IS_BUILTIN.xextensions= no -. if exists(${_X11_EXTENSIONS_EXTUTIL_H}) +. if exists(${_X11_EXTENSIONS_EXTUTIL_H}) && exists(${_X11_EXTENSIONS_PC}) IS_BUILTIN.xextensions= yes # hardcode version for now, since there currently is only one, really BUILTIN_PKG.xextensions= xextensions-1.0.1 -- cgit v1.2.3