Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 00:15:56 +0100
From:      Anders Andersson <anders@hack.org>
To:        Joe Clarke <marcus@marcuscom.com>
Cc:        sobomax@FreeBSD.org, gnome@FreeBSD.org
Subject:   Re: xscreensaver-4.0 configures "without-gnome"
Message-ID:  <20020121231556.GC312@sushi.sanyusan.se>
In-Reply-To: <20020121225157.GA312@sushi.sanyusan.se>
References:  <20020121211020.9C6155D0A@ptavv.es.net> <20020121162500.Y56403-100000@shumai.marcuscom.com> <20020121225157.GA312@sushi.sanyusan.se>

next in thread | previous in thread | raw e-mail | index | archive | help

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Jan 21, 2002 at 11:51:57PM +0100, Anders Andersson wrote:
> On Mon, Jan 21, 2002 at 04:28:20PM -0500, Joe Clarke wrote:
> > This has been fixed in the latest version of the port.  I don't think
> > PORTREVISION was bumped for this, though.
> 
> Has it? I see the HAVE_GNOME knob, but it still compiles with
> --without-gnome for me... I shouldnt have to specify HAVE_GNOME=1 now
> would I?

Well, looks like this patch does the trick.
Maxim, does this look correct?
-- 
Anders Andersson <anders@hack.org>
UNIX, Networking and Security consultant
+46 (0)705 87 53 35

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xscreensaver/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- Makefile	21 Jan 2002 04:23:07 -0000	1.44
+++ Makefile	21 Jan 2002 23:13:38 -0000
@@ -25,7 +25,10 @@
 		--with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
 		--with-configdir=${PREFIX}/share/xscreensaver/config/
 
+.include <bsd.port.pre.mk>
+
 .if defined(HAVE_GNOME)
+USE_GNOME=	yes
 CONFIGURE_ARGS+=	--with-gnome
 .else
 CONFIGURE_ARGS+=	--without-gnome
@@ -60,7 +63,5 @@
 	@ ${SED} -e 's/malloc.h/stdlib.h/g' ${WRKSRC}/hacks/glx/${file}.Dist > \
 		${WRKSRC}/hacks/glx/${file}
 .endfor
-
-.include <bsd.port.pre.mk>
 
 .include <bsd.port.post.mk>

--0OAP2g/MAC+5xKAE--

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?20020121231556.GC312>