diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-03-22 15:52:35 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-03-22 15:52:35 +0000 |
commit | 4803dd83ea8117e95ef0cbd004bdccb643e5ebb5 (patch) | |
tree | 4fe10776463c2754eb253756d2ee0d7ae4125ac7 /x11/xextensions | |
parent | 148b2e8fbe3d4be38f04b784103f62b39e9cc883 (diff) | |
download | pkgsrc-4803dd83ea8117e95ef0cbd004bdccb643e5ebb5.tar.gz |
Also check for xextensions.pc to decide whether the builtin library is
enough.
Diffstat (limited to 'x11/xextensions')
-rw-r--r-- | x11/xextensions/builtin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
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 |