From owner-freebsd-ports Mon Sep 10 4:34:32 2001 Delivered-To: freebsd-ports@freebsd.org Received: from iraun2.uka.de (iraun2.uka.de [129.13.10.91]) by hub.freebsd.org (Postfix) with ESMTP id D848E37B406 for ; Mon, 10 Sep 2001 04:34:28 -0700 (PDT) Received: from i30nb2.ira.uka.de ([129.13.30.52]) by iraun2.uka.de with esmtp (Exim 3.30 #2 (Debian)) id 15gPKd-0002GB-00; Mon, 10 Sep 2001 13:34:27 +0200 Received: (from esk@localhost) by i30nb2.ira.uka.de (8.11.5/8.11.3) id f8ABYGY01329; Mon, 10 Sep 2001 13:34:16 +0200 (CEST) (envelope-from esk) From: Espen Skoglund MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15260.42295.551022.514991@i30nb2.ira.uka.de> Date: Mon, 10 Sep 2001 13:34:15 +0200 To: Neil Blakey-Milner Cc: Espen Skoglund , ports@freebsd.org Subject: Re: WANT_GNOME gives unwanted CONFIGURE_ARGS In-Reply-To: <20010909184921.A73454@mithrandr.moria.org> References: <15257.4977.549494.312541@gargle.gargle.HOWL> <20010909184921.A73454@mithrandr.moria.org> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [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 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