summaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-11 14:53:35 +0000
committeragc <agc@pkgsrc.org>2000-07-11 14:53:35 +0000
commit4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd (patch)
tree07c067a284dd27eed2ac53c0ec79e856fd2442d9 /graphics/libwmf
parent2892ff05e14ce39877f3b9724d09c369fa16359e (diff)
downloadpkgsrc-4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd.tar.gz
Make the determination of the pre-req package's installed directory be
a bit more user-friendly. Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 1d1cf949753..f4e110edd32 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/07/11 09:31:33 agc Exp $
+# $NetBSD: Makefile,v 1.6 2000/07/11 14:53:42 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="`${PKG_INFO} -qp xpm | ${AWK} '{ print $$2 }'`"
+CONFIGURE_ARGS+= --with-xpm="`${MAKE} show-xpm-prefix`"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include