Need help with OPTIONS

Miguel Mendez flynn at energyhq.es.eu.org
Fri Aug 20 08:18:55 PDT 2004


Hi all,

Here's the deal, the bsd.port.mk docs say that one should include
bsd.port.pre.mk before you start testing the WITH_xyz variables.

*But*, I have a problem with that, some options modify the PREFIX in my
port, e.g. if you enable GTK then USE_X_PREFIX is defined. Apparently
one cannot do that, as it results in errors and portlint complains:

FATAL: Makefile [35]: USE_X_PREFIX is set after including
bsd.port.pre.mk.
FATAL: Makefile [41]: USE_QT_VER is set after including bsd.port.pre.mk.

Also trying to build the port with the WITH_GTK option enabled results
in errors which don't show up if WITH_CONSOLE or WITH_QT are set.

scienide# make
"/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional (${_USE_GNOME_ALL:Mgtk20}=="")
"/usr/ports/Mk/bsd.gnome.mk", line 8: Need an operator

Any ideas?

TIA
-- 
	Miguel Mendez <flynn at energyhq.es.eu.org>
	http://www.energyhq.es.eu.org
	PGP Key: 0xDC8514F1
	Note: All HTML and non-english mail goes to /dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040820/139d8281/attachment.bin


More information about the freebsd-ports mailing list