From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 09:12:26 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5313616A4CE for ; Fri, 23 Jan 2004 09:12:26 -0800 (PST) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [80.86.187.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0C743D2F for ; Fri, 23 Jan 2004 09:12:20 -0800 (PST) (envelope-from lehmann@ans-netz.de) Received: (qmail 53827 invoked from network); 23 Jan 2004 17:12:16 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (80.86.187.43) by avocado.salatschuessel.net with SMTP; 23 Jan 2004 17:12:16 -0000 Date: Fri, 23 Jan 2004 18:12:16 +0100 From: Oliver Lehmann To: ports@freebsd.org Message-Id: <20040123181216.4ebba397.lehmann@ans-netz.de> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: questions about OPTIONS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 17:12:26 -0000 Hi, I think about using OPTIONS in my Makefiles instead of using custom "You may use the following...." things. But whats about that special situation (It's only an example!): [...] OPTIONS= PIXBUF "GDK Pixbuf support" off \ OPENSSL "OpenSSL support" on [...] .if !defined(WITHOUT_OPENSSL) USE_OPENSSL= yes .endif .if defined(WITH_PIXBUF) USE_GNOME+= gdkpixbuf .else USE_GNOME+= imlib .endif [...] Where should I include bsd.pre.port.mk? - After OPTIONS? In that case, USE_GNOME and USE_OPENSSL wouldn't have any effect. - After those WITH_* variables are getting checked? In that case, the options I may had set in the dialog wouldn't be used. Ideas how to fix/workaround this? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/