From a42851526b37603d8c8e2edb1ea4d1f310e47a4c Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 11 Jul 2000 09:31:32 +0000 Subject: Make these packages work better with xpkgwedge by using X11PREFIX in preference to X11BASE, and by finding out where the xpm package is installed by using pkg_info(1), not hardcoding a best guess. --- 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 8704fc3a96f..eddb999c514 100644 --- a/x11/rxvt/Makefile +++ b/x11/rxvt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/05/08 03:25:20 hubertf Exp $ +# $NetBSD: Makefile,v 1.14 2000/07/11 09:31:33 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=${X11BASE}/include/X11 \ - --with-xpm-library=${X11BASE}/lib + --with-xpm-includes=`${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'`/include/X11 \ + --with-xpm-library=`${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'`/lib .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3