Date: Tue, 12 Feb 2002 20:48:33 -0600 From: Ade Lovett <ade@supernews.net> To: <gnome@FreeBSD.org> Subject: An interesting issue with bsd.gnome.mk Message-ID: <B88F3021.5F0A%ade@supernews.net>
next in thread | raw e-mail | index | archive | help
All, In the process of hacking x11/xscreensaver to do the right thing in the GNOME case, where it overwrites files installed by sysutils/gnomecontrolcenter, I ran across an interesting conundrum. The port defines WANT_GNOME=yes, I have WITH_GNOME=yes in /etc/make.conf At this moment in time, I have everything up to gnomecontrolcenter installed (specifically, gnomecore, and its direct dependencies, have *NOT* been installed). Now, what I'd expect to happen is that it notices x11/gnomecore hasn't been installed, does all the necessary, then returns to build xscreensaver-gnome. It doesn't. guardian 404# make -V PLIST_SUB OSREL=4.5 PREFIX=%D LOCALBASE=/usr/local X11BASE=/usr/X11R6 PORTDOCS="" PORTOBJFORMAT=elf XAWVER=7 PERL_VERSION=5.00503 PERL_VER=5.005 PERL_ARCH=i386-freebsd As you can see, it hasn't even touched the GNOME parts, specifically the PLIST_SUB code. As far as I can tell, this is because of flawed logic in bsd.gnome.mk. One of the tests which sets HAVE_GNOME is the existence of gnome-config. This is too loose a test, since I only have to install gnomelibs for that. Further, all the stuff which, in particular, does the PLIST_SUB expansion etc. is protected by a USE_GNOMELIBS statement (only user-settable). This also seems wrong. Suggestions welcome before I delve in. The test case is, with a clean machine, build everything up to and including sysutils/gnomecontrolcenter, then try building x11/xscreensaver which detects GNOME support within its configure script as the existence of a library from gnomecontrolcenter, yet The Right Thing is not happening. -aDe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B88F3021.5F0A%ade>