From 69cbb390716850e6a8c835f7b91ef8d8df65fb92 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 14 Jul 2000 16:04:19 +0000 Subject: The previous method of using a make target for finding a prerequisite package's prefix would not work as part of the environment specification via MAKE_ENV (as it would not be executed in the correct directory). Fix this by invoking pkg_info(1) directly, not via an intermediate make(1) step - this is not as clean, but more effective (i.e. it works). --- x11/rxvt/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'x11/rxvt') diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile index d1726239673..55e37f5acab 100644 --- a/x11/rxvt/Makefile +++ b/x11/rxvt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2000/07/11 14:53:48 agc Exp $ +# $NetBSD: Makefile,v 1.16 2000/07/14 16:04:28 agc Exp $ # FreeBSD Id: Makefile,v 1.13 1997/03/07 12:29:49 obrien Exp # @@ -32,7 +32,7 @@ CONFIGURE_ARGS+= --enable-utmp \ --enable-frills \ --enable-keepscrolling \ --enable-mousewheel \ - --with-xpm-includes=`${MAKE} show-xpm-prefix`/include/X11 \ - --with-xpm-library=`${MAKE} show-xpm-prefix`/lib + --with-xpm-includes=`${SHOW_PREFIX1} xpm ${SHOW_PREFIX2}`/include/X11 \ + --with-xpm-library=`${SHOW_PREFIX1} xpm ${SHOW_PREFIX2}`/lib .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3