From owner-freebsd-ports Mon Sep 10 7:21:12 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 90F6F37B403; Mon, 10 Sep 2001 07:21:08 -0700 (PDT) Received: from i30nb2.ira.uka.de ([129.13.30.52]) by iraun2.uka.de with esmtp (Exim 3.30 #2 (Debian)) id 15gRvv-0003Di-00; Mon, 10 Sep 2001 16:21:07 +0200 Received: (from esk@localhost) by i30nb2.ira.uka.de (8.11.5/8.11.3) id f8AEL6b01813; Mon, 10 Sep 2001 16:21:06 +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.52306.304883.940478@i30nb2.ira.uka.de> Date: Mon, 10 Sep 2001 16:21:06 +0200 To: Maxim Sobolev Cc: esk@ira.uka.de (Espen Skoglund), ports@freebsd.org Subject: Re: WANT_GNOME gives unwanted CONFIGURE_ARGS In-Reply-To: <200109101330.f8ADUJZ35911@vega.vega.com> References: <200109101330.f8ADUJZ35911@vega.vega.com> 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 [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 > .if defined(HAVE_GNOME) > USE_GNOME= yes > .endif > [...] > .include 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