diff options
author | jlam <jlam> | 2001-07-20 01:54:31 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-07-20 01:54:31 +0000 |
commit | 2ae16cd40f1946d48da3c1d8da79eb468fb79412 (patch) | |
tree | b2e768de7c211ef606d480324d634b7befcb3c51 /devel/SDL | |
parent | bfd2f56db9fd534ea59e33ea06dd03d00aea56ad (diff) | |
download | pkgsrc-2ae16cd40f1946d48da3c1d8da79eb468fb79412.tar.gz |
Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
Diffstat (limited to 'devel/SDL')
-rw-r--r-- | devel/SDL/buildlink.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/SDL/buildlink.mk b/devel/SDL/buildlink.mk index 18eecc06d6d..f6d0c665de1 100644 --- a/devel/SDL/buildlink.mk +++ b/devel/SDL/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.7 2001/07/14 15:51:47 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.8 2001/07/20 01:54:36 jlam Exp $ # # This Makefile fragment is included by packages that use SDL. # @@ -20,7 +20,7 @@ SDL_BUILDLINK_MK= # defined BUILDLINK_DEPENDS.SDL?= SDL>=1.2.0 DEPENDS+= ${BUILDLINK_DEPENDS.SDL}:../../devel/SDL -BUILDLINK_PREFIX.SDL= ${LOCALBASE} +EVAL_PREFIX+= BUILDLINK_PREFIX.SDL=SDL BUILDLINK_FILES.SDL= include/SDL/* BUILDLINK_FILES.SDL+= lib/libSDL.* BUILDLINK_FILES.SDL+= lib/libSDLmain.* @@ -41,7 +41,7 @@ BUILDLINK_TARGETS.SDL= SDL-buildlink BUILDLINK_TARGETS.SDL+= SDL-buildlink-config-wrapper BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.SDL} -BUILDLINK_CONFIG.SDL= ${LOCALBASE}/bin/sdl-config +BUILDLINK_CONFIG.SDL= ${BUILDLINK_PREFIX.SDL}/bin/sdl-config BUILDLINK_CONFIG_WRAPPER.SDL= ${BUILDLINK_DIR}/bin/sdl-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) |