From 1b0c8d610f13433a713d447b8781b70fd51158d3 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. --- graphics/libwmf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics') 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 -- cgit v1.2.3