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/xfce/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'x11/xfce') diff --git a/x11/xfce/Makefile b/x11/xfce/Makefile index 4c9ee39803b..83e9b302bca 100644 --- a/x11/xfce/Makefile +++ b/x11/xfce/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2000/07/11 14:53:48 agc Exp $ +# $NetBSD: Makefile,v 1.9 2000/07/14 16:04:30 agc Exp $ DISTNAME= xfce-3.3.1 CATEGORIES= x11 @@ -18,8 +18,8 @@ GNU_CONFIGURE= yes CONFIGURE_ENV+= XFCE_LOCALE_DIR=${PREFIX}/share/locale CONFIGURE_ARGS+=--without-included-gettext \ --datadir=${PREFIX}/share \ - --with-imlib=`${MAKE} show-imlib-prefix` \ - --with-xpm=`${MAKE} show-xpm-prefix` + --with-imlib=`${SHOW_PREFIX1} imlib ${SHOW_PREFIX2}` \ + --with-xpm=`${SHOW_PREFIX1} xpm ${SHOW_PREFIX2}` USE_GMAKE= yes .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3