Date: Fri, 30 Apr 2004 13:00:29 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Jeremy Messenger <mezz7@cox.net> Cc: freebsd-gnome@freebsd.org Subject: Re: Any plan to get bsd.gnome.mk works w/ OPTIONS? Message-ID: <1083344429.843.11.camel@gyros> In-Reply-To: <opr693mawm8ckrg5@smtp.central.cox.net> References: <opr693mawm8ckrg5@smtp.central.cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-KPNAz09fWZ2SSOjBjLFb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-04-30 at 12:48, Jeremy Messenger wrote: > Hello, >=20 > I am a maintainer of x11-wm/fluxbox-devel and I just changed from=20 > pre-everything to OPTIONS. So, I noticed that it needs the OPTIONS to be=20 > add in the bsd.gnome.mk. Do anyone have any plan? I tried to do it by=20 > myself (for now) like this for example: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > WANT_GNOME=3D yes >=20 > OPTIONS=3D GNOME "Enable GNOME support" on >=20 > .include <bsd.port.pre.mk> >=20 > .if ${HAVE_GNOME:Mlibgnome}!=3D"" > CONFIGURE_ARGS+=3D --enable-gnome > .else > CONFIGURE_ARGS+=3D --disable-gnome > .endif >=20 > .include <bsd.port.post.mk> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > It will not listen to the OPTIONS if the user turn it off, but will liste= n=20 > to the 'make -DWITHOUT_GNOME'. That's because OPTIONS are processed after bsd.gnome.mk is included in bsd.port.post.mk. >=20 > I am wondering what are the plan for this like remove GNOME from OPTIONS=20 > and it will be done by automatic by bsd.gnome.mk or should I keep GNOME i= n=20 > OPTIONS? Just want to ask so I can have it ready early. :-) There is no plan to add OPTIONS directly into bsd.gnome.mk. However, OPTIONS may get an overhaul at some point so that the above will work.=20 For now, I would leave things to bsd.gnome.mk, or add another check in your Makefile: .if ${HAVE_GNOME:Mlibgnome}!=3D"" && !defined(WITHOUT_GNOME) Joe >=20 > Cheers, > Mezz --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-KPNAz09fWZ2SSOjBjLFb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAkoYsb2iPiv4Uz4cRApUnAJ4ic0Rx9z/HmmZcBNkXeMXGDasUZgCbBmFG 8n6R0l2oJA0IzvNa39DnW7s= =2JW0 -----END PGP SIGNATURE----- --=-KPNAz09fWZ2SSOjBjLFb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1083344429.843.11.camel>