pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xextensions Also check for xextensions.pc to decid...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56b0a1c599af
branches:  trunk
changeset: 491212:56b0a1c599af
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Mar 22 15:52:35 2005 +0000

description:
Also check for xextensions.pc to decide whether the builtin library is
enough.

diffstat:

 x11/xextensions/builtin.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 12ebd9087188 -r 56b0a1c599af x11/xextensions/builtin.mk
--- a/x11/xextensions/builtin.mk        Tue Mar 22 15:51:27 2005 +0000
+++ b/x11/xextensions/builtin.mk        Tue Mar 22 15:52:35 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index