summaryrefslogtreecommitdiff
path: root/sysutils/asapm
diff options
context:
space:
mode:
authoragc <agc>2000-07-11 09:31:32 +0000
committeragc <agc>2000-07-11 09:31:32 +0000
commit77c5a508762f6f475affd92a5714e556eeb0f245 (patch)
treec9fbacddd7bd87d9d754a9fdd648e80a35196cbd /sysutils/asapm
parenta34eb3c533f1c84fa24dcb6b54ac0582b4e20ace (diff)
downloadpkgsrc-77c5a508762f6f475affd92a5714e556eeb0f245.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"