Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 17:18:16 +0200
From:      Miguel Mendez <flynn@energyhq.es.eu.org>
To:        freebsd-ports@freebsd.org
Subject:   Need help with OPTIONS
Message-ID:  <20040820171816.640cde7a.flynn@energyhq.es.eu.org>

next in thread | raw e-mail | index | archive | help
--Signature=_Fri__20_Aug_2004_17_18_16_+0200_fspe3NbZwzYg_UOq
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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@energyhq.es.eu.org>
	http://www.energyhq.es.eu.org
	PGP Key: 0xDC8514F1
	Note: All HTML and non-english mail goes to /dev/null

--Signature=_Fri__20_Aug_2004_17_18_16_+0200_fspe3NbZwzYg_UOq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBJhY7nLctrNyFFPERAoVZAKCpWBoWlMmlVMRzhEtN4u3SOPaeCgCdHYIV
ChuP09QZnwIp3u8P1nHO0FM=
=sivE
-----END PGP SIGNATURE-----

--Signature=_Fri__20_Aug_2004_17_18_16_+0200_fspe3NbZwzYg_UOq--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040820171816.640cde7a.flynn>