summaryrefslogtreecommitdiff
path: root/graphics
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 /graphics
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 'graphics')
-rw-r--r--graphics/libwmf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index a692169553f..1d1cf949753 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/05/01 06:07:45 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2000/07/11 09:31:33 agc Exp $
#
DISTNAME= libwmf-0.1.17
@@ -22,7 +22,7 @@ USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-png="${LOCALBASE}"
CONFIGURE_ARGS+= --with-ttf="${LOCALBASE}"
-CONFIGURE_ARGS+= --with-xpm="${X11BASE}"
+CONFIGURE_ARGS+= --with-xpm="`${PKG_INFO} -qp xpm | ${AWK} '{ print $$2 }'`"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include