pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11 Check for the .pc files presence...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c5bf9ad07af
branches:  trunk
changeset: 481593:2c5bf9ad07af
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Oct 08 04:44:52 2004 +0000

description:
Check for the .pc files presence...

diffstat:

 x11/compositeext/builtin.mk |  8 +++++---
 x11/fixesext/builtin.mk     |  6 ++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r d73371cd6b39 -r 2c5bf9ad07af x11/compositeext/builtin.mk
--- a/x11/compositeext/builtin.mk       Fri Oct 08 04:28:16 2004 +0000
+++ b/x11/compositeext/builtin.mk       Fri Oct 08 04:44:52 2004 +0000
@@ -1,11 +1,13 @@
-# $NetBSD: builtin.mk,v 1.2 2004/10/08 04:02:35 xtraeme Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/10/08 04:44:52 xtraeme Exp $
 
-_COMPOSITE_H=  ${X11BASE}/include/X11/extensions/composite.h
+_COMPOSITE_H=          ${X11BASE}/include/X11/extensions/composite.h
 _COMPOSITE_PROTO_H=    ${X11BASE}/include/X11/extensions/compositeproto.h
+_COMPOSITEEXT_PC=      ${X11BASE}/lib/X11/pkgconfig/compositeext.pc
 
 .if !defined(IS_BUILTIN.compositeext)
 IS_BUILTIN.compositeext=     no
-.  if exists(${_COMPOSITE_H}) && exists(${_COMPOSITE_PROTO_H})
+.  if exists(${_COMPOSITE_H}) && exists(${_COMPOSITE_PROTO_H}) && \
+      exists(${_COMPOSITEEXT_PC})
 IS_BUILTIN.compositeext=     yes
 .  endif
 .endif  # IS_BUILTIN.compositeext
diff -r d73371cd6b39 -r 2c5bf9ad07af x11/fixesext/builtin.mk
--- a/x11/fixesext/builtin.mk   Fri Oct 08 04:28:16 2004 +0000
+++ b/x11/fixesext/builtin.mk   Fri Oct 08 04:44:52 2004 +0000
@@ -1,11 +1,13 @@
-# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:43:42 xtraeme Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/10/08 04:44:52 xtraeme Exp $
 
 _H_XFIXESPROTO=                ${X11BASE}/include/X11/extensions/xfixesproto.h
 _H_XFIXESWIRE=         ${X11BASE}/include/X11/extensions/xfixeswire.h
+_FIXESEXT_PC=          ${X11BASE}/lib/X11/pkgconfig/fixesext.pc
 
 .if !defined(IS_BUILTIN.fixesext)
 IS_BUILTIN.fixesext=     no
-.  if exists(${_H_XFIXESPROTO}) && exists(${_H_XFIXESWIRE})
+.  if exists(${_H_XFIXESPROTO}) && exists(${_H_XFIXESWIRE}) && \
+      exists(${_FIXESEXT_PC})
 IS_BUILTIN.fixesext=     yes
 .  endif
 .endif  # IS_BUILTIN.fixesext



Home | Main Index | Thread Index | Old Index