Date: Mon, 10 Sep 2001 16:21:06 +0200 From: Espen Skoglund <esk@ira.uka.de> To: Maxim Sobolev <sobomax@freebsd.org> Cc: esk@ira.uka.de (Espen Skoglund), ports@freebsd.org Subject: Re: WANT_GNOME gives unwanted CONFIGURE_ARGS Message-ID: <15260.52306.304883.940478@i30nb2.ira.uka.de> In-Reply-To: <200109101330.f8ADUJZ35911@vega.vega.com> References: <no.id> <200109101330.f8ADUJZ35911@vega.vega.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[Maxim Sobolev] >> But I *do* want to install the data files in >> /usr/X11R6/share/gnome. That's what DATADIR is set to, and that's >> what I expect CONFIGURE_ARGS to contain. Do I really have to set >> datadir even when I want the files to go into the default gnome >> location? > For ports with optional GNOME dependency you have to include the > following into the Makefile: > [...] > WANT_GNOME= yes > [...] > .include <bsd.port.pre.mk> > .if defined(HAVE_GNOME) > USE_GNOME= yes > .endif > [...] > .include <bsd.port.post.mk> I know. But the "problem" remains. Since HAVE_GNOME is defined, the following code .if !defined(HAVE_GNOME) && ${CONFIGURE_ARGS:S/--datadir=//} \ == ${CONFIGURE_ARGS:S/ / /g} CONFIGURE_ARGS+=--datadir=${PREFIX}/share/gnome .endif in bsd.gnome.mk ensures that I do *not* get the desired CONFIGURE_ARGS. Is it the policy that I should manually include the CONFIGURE_ARGS line in the Makefile? eSk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15260.52306.304883.940478>