diff options
author | jlam <jlam@pkgsrc.org> | 2002-06-26 05:40:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-06-26 05:40:33 +0000 |
commit | e54da451c1fd84b7dc0fa3710f739c8e8d1b7551 (patch) | |
tree | 7b73b518331f59818fbdce39acadfcece7ce1acb /graphics/xpm | |
parent | aa6c28e1a94a0b2b3c5cc3c67743f2861b37fbd2 (diff) | |
download | pkgsrc-e54da451c1fd84b7dc0fa3710f739c8e8d1b7551.tar.gz |
Add new private variables _REQUIRE_BUILTIN_* that can be used to specify
that the headers/libraries must be part of the standard X11 distribution or
else they aren't symlinked into ${BUILDLINK_DIR}. These are meant to be
used only by x11-links, and is to allow x11-links to contain all of the
parts of the standard X11 distribution.
Diffstat (limited to 'graphics/xpm')
-rw-r--r-- | graphics/xpm/buildlink.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/xpm/buildlink.mk b/graphics/xpm/buildlink.mk index 9f9063922a6..0fbed366c5d 100644 --- a/graphics/xpm/buildlink.mk +++ b/graphics/xpm/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.10 2001/07/27 13:33:31 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.11 2002/06/26 05:40:34 jlam Exp $ # # This Makefile fragment is included by packages that use xpm. # @@ -20,14 +20,14 @@ BUILDLINK_DEPENDS.xpm?= xpm-3.4k # Check if we got Xpm distributed with XFree86 4.x or if we need to # depend on the Xpm package. # -.include "../../mk/bsd.prefs.mk" +_REQUIRE_BUILTIN_XPM?= NO .if exists(${X11BASE}/include/X11/xpm.h) && \ exists(${X11BASE}/lib/X11/config/X11.tmpl) _IS_BUILTIN_XPM!= ${EGREP} -c NormalLibXpm ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE} .else _IS_BUILTIN_XPM= 0 .endif -.if ${_IS_BUILTIN_XPM} == "0" +.if (${_IS_BUILTIN_XPM} == "0") && (${_REQUIRE_BUILTIN_XPM} == "NO") _NEED_XPM= YES .else _NEED_XPM= NO |