Date: Mon, 10 Sep 2001 13:34:15 +0200 From: Espen Skoglund <esk@ira.uka.de> To: Neil Blakey-Milner <nbm@mithrandr.moria.org> Cc: Espen Skoglund <esk@ira.uka.de>, ports@freebsd.org Subject: Re: WANT_GNOME gives unwanted CONFIGURE_ARGS Message-ID: <15260.42295.551022.514991@i30nb2.ira.uka.de> In-Reply-To: <20010909184921.A73454@mithrandr.moria.org> References: <15257.4977.549494.312541@gargle.gargle.HOWL> <20010909184921.A73454@mithrandr.moria.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[Neil Blakey-Milner] > On Fri 2001-09-07 (20:35), Espen Skoglund wrote: >> I was just looking at ports/30414, and it seems there are some >> unexpected (at least for me) results of defining WANT_GNOME in the >> port's Makefile. I would expect bsd.gnome.mk to include a proper >> --datadir switch to the configure script, but >> >> .if !defined(HAVE_GNOME) && ... >> CONFIGURE_ARGS+=--datadir=${PREFIX}/share/gnome >> .endif >> >> on line 287 ensures that this does not happen because WANT_GNOME >> will (potentially) define HAVE_GNOME=yes. Have I missed something >> here? > bsd.gnome.mk has: > # Ports which optionally depend on GNOME can add '--datadir=${PREFIX}/share' > # to CONFIGURE_ARGS before including <bsd.port.post.mk> if they do not wish > # to install their data files in /usr/X11R6/share/gnome. Please be aware > # that you will need to make non standard patches to get the rest of the > # files into the correct places. Specifically, the help files and pixmaps > # must still go into /usr/X11R6/share/gnome/help and > # /usr/X11R6/share/gnome/pixmaps respectively. %%DATADIR%% will still be > # defined for you to use. 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? 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.42295.551022.514991>