pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11 Check for pkgconfig files (.pc) presence.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7ffcac4f954
branches:  trunk
changeset: 481598:a7ffcac4f954
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Oct 08 05:24:46 2004 +0000

description:
Check for pkgconfig files (.pc) presence.

diffstat:

 x11/Xcomposite/builtin.mk |  5 +++--
 x11/Xfixes/builtin.mk     |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r cfd481296d2c -r a7ffcac4f954 x11/Xcomposite/builtin.mk
--- a/x11/Xcomposite/builtin.mk Fri Oct 08 05:15:02 2004 +0000
+++ b/x11/Xcomposite/builtin.mk Fri Oct 08 05:24:46 2004 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: builtin.mk,v 1.2 2004/10/08 04:01:49 xtraeme Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/10/08 05:24:46 xtraeme Exp $
 
 _XCOMPOSITE_H= ${X11BASE}/include/X11/extensions/xcomposite.h
+_XCOMPOSITE_PC=        ${X11BASE}/lib/X11/pkgconfig/xcomposite.pc
 
 .if !defined(IS_BUILTIN.Xcomposite)
 IS_BUILTIN.Xcomposite=     no
-.  if exists(${_XCOMPOSITE_H})
+.  if exists(${_XCOMPOSITE_H}) && exists(${_XCOMPOSITE_PC})
 IS_BUILTIN.Xcomposite=     yes
 .  endif
 .endif  # IS_BUILTIN.Xcomposite
diff -r cfd481296d2c -r a7ffcac4f954 x11/Xfixes/builtin.mk
--- a/x11/Xfixes/builtin.mk     Fri Oct 08 05:15:02 2004 +0000
+++ b/x11/Xfixes/builtin.mk     Fri Oct 08 05:24:46 2004 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:42:21 xtraeme Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/10/08 05:24:46 xtraeme Exp $
 
 _H_XFIXES=             ${X11BASE}/include/X11/extensions/Xfixes.h
+_FIXESEXT_PC=          ${X11BASE}/lib/X11/pkgconfig/xfixes.pc
 
 .if !defined(IS_BUILTIN.Xfixes)
 IS_BUILTIN.Xfixes=     no
-.  if exists(${_H_XFIXES})
+.  if exists(${_H_XFIXES}) && exists(${_FIXESEXT_PC})
 IS_BUILTIN.Xfixes=     yes
 .  endif
 .endif  # IS_BUILTIN.Xfixes



Home | Main Index | Thread Index | Old Index