Date: Fri, 23 Jan 2004 18:12:16 +0100 From: Oliver Lehmann <lehmann@ans-netz.de> To: ports@freebsd.org Subject: questions about OPTIONS Message-ID: <20040123181216.4ebba397.lehmann@ans-netz.de>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040123181216.4ebba397.lehmann>