summaryrefslogtreecommitdiff
path: root/x11/xextensions
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-06-11 08:49:33 +0000
committerjmmv <jmmv@pkgsrc.org>2005-06-11 08:49:33 +0000
commit9518bb19366956b74ff98bd5cd1e11d154c7cccc (patch)
treec7b924cd1287bf07715c1a12b18aeafe351ae5ba /x11/xextensions
parent47f947ec080557387f9e21072a12810b99be31f6 (diff)
downloadpkgsrc-9518bb19366956b74ff98bd5cd1e11d154c7cccc.tar.gz
Revision 1.2 of this file added a check for the presence of xextensions.pc
to decide whether the builtin version was enough or not. This check was removed in 1.3 during the conversion to the new builtin structure, hence breaking, at least, compositeext (on which many other packages depend). Given this, readd the check.
Diffstat (limited to 'x11/xextensions')
-rw-r--r--x11/xextensions/builtin.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/xextensions/builtin.mk b/x11/xextensions/builtin.mk
index b4fbc38c006..8bac099e3f4 100644
--- a/x11/xextensions/builtin.mk
+++ b/x11/xextensions/builtin.mk
@@ -1,10 +1,12 @@
-# $NetBSD: builtin.mk,v 1.3 2005/06/01 18:03:32 jlam Exp $
+# $NetBSD: builtin.mk,v 1.4 2005/06/11 08:49:33 jmmv Exp $
BUILTIN_PKG:= xextensions
-BUILTIN_FIND_FILES_VAR:= H_XEXTENSIONS
+BUILTIN_FIND_FILES_VAR:= H_XEXTENSIONS PC_XEXTENSIONS
BUILTIN_FIND_FILES.H_XEXTENSIONS= \
${X11BASE}/include/X11/extensions/extutil.h
+BUILTIN_FIND_FILES.PC_XEXTENSIONS= \
+ ${X11BASE}/lib/pkgconfig/xextensions.pc
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -19,7 +21,7 @@ IS_BUILTIN.xextensions= no
# we'll consider this X11 package to be built-in even if it's a part
# of one of the pkgsrc-installed X11 distributions.
#
-. if exists(${H_XEXTENSIONS})
+. if exists(${H_XEXTENSIONS}) && exists(${PC_XEXTENSIONS})
IS_BUILTIN.xextensions= yes
. endif
.endif