From owner-freebsd-ports@FreeBSD.ORG Fri Aug 20 15:18:54 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 DF7BC16A4CE for ; Fri, 20 Aug 2004 15:18:54 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56FF43D39 for ; Fri, 20 Aug 2004 15:18:49 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id 7444436857 for ; Fri, 20 Aug 2004 17:18:42 +0200 (CEST) Date: Fri, 20 Aug 2004 17:18:16 +0200 From: Miguel Mendez To: freebsd-ports@freebsd.org Message-Id: <20040820171816.640cde7a.flynn@energyhq.es.eu.org> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.7; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Fri__20_Aug_2004_17_18_16_+0200_fspe3NbZwzYg_UOq" Subject: Need help with 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, 20 Aug 2004 15:18:55 -0000 --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 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--