diff options
author | agc <agc> | 2000-07-10 10:40:39 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-10 10:40:39 +0000 |
commit | 91eba316c77ef386b236998f54da562a655d4fff (patch) | |
tree | eb8c75c4d78a779a039aa1995f70225e25ce9df1 /graphics/gimp-current | |
parent | 7370f62dfda2fbad92bec13c208ebecb3a567753 (diff) | |
download | pkgsrc-91eba316c77ef386b236998f54da562a655d4fff.tar.gz |
Hardcoding X11PREFIX into package Makefiles forces the user to install
xpkgwedge once, before any other packages have been installed, and
never to delete it. This change finds the prefix of the installed
pre-req package using pkg_info(1), and allows packages to be found in
${X11BASE} and ${LOCALBASE}, not just ${X11PREFIX} - from mail from
Dave Sainty <dave@dtsp.co.nz>, munged slightly by myself.
Diffstat (limited to 'graphics/gimp-current')
-rw-r--r-- | graphics/gimp-current/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/gimp-current/Makefile b/graphics/gimp-current/Makefile index 374ba7a796d..49e5bf664d8 100644 --- a/graphics/gimp-current/Makefile +++ b/graphics/gimp-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2000/07/06 07:12:47 tron Exp $ +# $NetBSD: Makefile,v 1.19 2000/07/10 10:40:40 agc Exp $ DISTNAME= gimp-1.1.24 CATEGORIES= graphics @@ -23,7 +23,7 @@ USE_GMAKE= yes USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-gtk-prefix=${X11PREFIX} \ +CONFIGURE_ARGS+= --with-gtk-prefix="`${PKG_INFO} -qp gtk+ | ${AWK} '{print $$2}'`" \ --disable-perl \ --disable-python CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" INTLLIBS="-lintl" \ |