summaryrefslogtreecommitdiff
path: root/sysutils/asapm
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-11 09:31:32 +0000
committeragc <agc@pkgsrc.org>2000-07-11 09:31:32 +0000
commit1b0c8d610f13433a713d447b8781b70fd51158d3 (patch)
treec9fbacddd7bd87d9d754a9fdd648e80a35196cbd /sysutils/asapm
parent5ee37a44d25efcca9a70607abd9cb5a3082b22e6 (diff)
downloadpkgsrc-1b0c8d610f13433a713d447b8781b70fd51158d3.tar.gz
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.
Diffstat (limited to 'sysutils/asapm')
-rw-r--r--sysutils/asapm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile
index 2372ed3d152..d0c30243100 100644
--- a/sysutils/asapm/Makefile
+++ b/sysutils/asapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/07/06 21:09:38 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.10 2000/07/11 09:31:33 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
#
@@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
USE_X11= yes
CONFIGURE_ARGS+= --disable-jpeg # there actually is no JPEG support
CONFIGURE_ARGS+= --with-xpm \
- --with-xpm-includes="${X11BASE}/include" \
- --with-xpm-library="${X11BASE}/lib"
+ --with-xpm-includes="`${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'`/include" \
+ --with-xpm-library="`${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'`/lib"
.include "../../mk/bsd.pkg.mk"