From owner-cvs-all@FreeBSD.ORG Thu May 4 14:01:00 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C53E16A406; Thu, 4 May 2006 14:01:00 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from e0-a11.b1.lan.prg.vol.cz (e0-a11.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id E23B543D4C; Thu, 4 May 2006 14:00:58 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1]) by e0-a11.b1.lan.prg.vol.cz (8.13.6/8.13.6) with ESMTP id k44E0uCY069033; Thu, 4 May 2006 16:00:56 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.6/8.13.6/Submit) id k44E0tq5069032; Thu, 4 May 2006 16:00:55 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Jean-Yves Lefort In-Reply-To: <20060504155134.2b84b651.jylefort@FreeBSD.org> References: <200605041238.k44CcbRf005669@repoman.freebsd.org> <1146746599.18447.11.camel@pav.hide.vol.cz> <20060504151740.62d5d719.jylefort@FreeBSD.org> <1146749152.18447.14.camel@pav.hide.vol.cz> <20060504153943.64a39678.jylefort@FreeBSD.org> <1146750247.18447.18.camel@pav.hide.vol.cz> <20060504155134.2b84b651.jylefort@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oWJVtY4AMlEImmap9Tsy" Date: Thu, 04 May 2006 16:00:55 +0200 Message-Id: <1146751255.18447.21.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/astro/celestia Makefile distinfo pkg-message.gnome pkg-plist ports/astro/celestia/files patch-config.h.in patch-src_celestia_Makefile.in patch-src_celestia_gtkmain.cpp patch-src_celutil_resmanager.h patch-src_celutil_util.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 14:01:02 -0000 --=-oWJVtY4AMlEImmap9Tsy Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Jean-Yves Lefort p=ED=B9e v =E8t 04. 05. 2006 v 15:51 +0200: > On Thu, 04 May 2006 15:44:06 +0200 > Pav Lucistnik wrote: >=20 > > Jean-Yves Lefort p=ED=B9e v =E8t 04. 05. 2006 v 15:39 +0200: > > > On Thu, 04 May 2006 15:25:52 +0200 > > > Pav Lucistnik wrote: > > >=20 > > > > Jean-Yves Lefort p=ED=B9e v =E8t 04. 05. 2006 v 15:17 +0200: > > > > > On Thu, 04 May 2006 14:43:19 +0200 > > > > > Pav Lucistnik wrote: > > > > >=20 > > > > > > Jean-Yves Lefort p=ED=B9e v =E8t 04. 05. 2006 v 12:38 +0000: > > > > > > > jylefort 2006-05-04 12:38:37 UTC > > > > > > >=20 > > > > > > > FreeBSD ports repository > > > > > > >=20 > > > > > > > Modified files: > > > > > > > astro/celestia Makefile distinfo=20 > > > > > > > Added files: > > > > > > > astro/celestia pkg-message.gnome pkg-plist=20 > > > > > > > astro/celestia/files patch-config.h.in=20 > > > > > > > patch-src_celestia_Makefile.in=20 > > > > > > > patch-src_celutil_util.h=20 > > > > > > > Removed files: > > > > > > > astro/celestia/files patch-src_celestia_gtkmain.cpp=20 > > > > > > > patch-src_celutil_resmanager.h=20 > > > > > >=20 > > > > > > > - Do not use OPTIONS for the mutually exclusive UI choices,= use > > > > > >=20 > > > > > > Your usage of OPTIONS is incorrect. For default on options, you= have to > > > > > > test WITHOUT_* variable. Please refer for more details to > > > > > > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-o= ptions.html > > > > >=20 > > > > > Why? > > > >=20 > > > > When you bypass OPTIONS completely (using BATCH or PACKAGE_BUILD), = no > > > > OPTIONS related variables are created. > > > >=20 > > > > Your tests must do the "default" thing when no variables were creat= ed. > > > > Otherwise pointyhat packages will have non-default properties. > > > >=20 > > > > At the moment, no WITH_LUA nor WITHOUT_LUA variable is created when > > > > using BATCH, and your test > > > >=20 > > > > .if WITH_LUA > > > >=20 > > > > will fail. Such package will end without Lua support, even when you > > > > specified the option to default to "on". > > >=20 > > > Apparently the handbook is outdated: > > >=20 > > > $ make -V WITH_LUA > > >=20 > > > $ make -V WITH_LUA BATCH=3Dyes > > > true > > > $ make -V WITH_LUA PACKAGE_BUILDING=3Dyes > > > true > > >=20 > > > cf. bsd.port.mk: > > >=20 > > > . if defined(PACKAGE_BUILDING) || (defined(BATCH) && !exists(${= _OPTIONSFILE})) > >=20 > > Make sure you don't have saved option (make rmconfig), then try: > >=20 > > make lib-depends > >=20 > > make describe|grep lua >=20 > $ make BATCH=3Dyes lib-depends | grep lua > =3D=3D=3D> celestia-glut-1.4.1 depends on shared library: lua.5 - found >=20 > $ make PACKAGE_BUILDING=3Dyes lib-depends | grep lua > =3D=3D=3D> celestia-glut-1.4.1 depends on shared library: lua.5 - found Try without BATCH, without PACKAGE_BUILDING. Just plain make lib-depends --=20 Pav Lucistnik XML is a giant step in no direction at all. -- Erik Naggum --=-oWJVtY4AMlEImmap9Tsy Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEWgkXntdYP8FOsoIRAsZuAKC0duXxQj3lrzRh0x/os8eHL71j3wCgqPgF ZG9jjFwUmSdHO/By65VgW/4= =ZTYB -----END PGP SIGNATURE----- --=-oWJVtY4AMlEImmap9Tsy--