questions about OPTIONS

Oliver Lehmann lehmann at
Fri Jan 23 09:12:26 PST 2004


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)

.if defined(WITH_PIXBUF)
USE_GNOME+=	gdkpixbuf
USE_GNOME+=	imlib

Where should I include 

-   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

More information about the freebsd-ports mailing list