Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 17:03:58 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Miguel Mendez <flynn@energyhq.homeip.net>
Cc:        freebsd-ports-bugs@FreeBSD.ORG
Subject:   Re: ports/47466: [Maintainer update] sysutils/thefish to 0.2.5
Message-ID:  <20030128010358.GG964@vectors.cx>
In-Reply-To: <200301272240.h0RMe39h047105@freefall.freebsd.org>
References:  <200301272240.h0RMe39h047105@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (01.27.2003 @ 1440 PST): Miguel Mendez said, in 3.0K: <<
>  Let's take advantage of the fact that this hasn't been committed yet and
>  use 0.2.5.1 instead, which is the latest release.

uhm. One of us wasn't on the proper time schedule here. Probably me.

>  -.if !defined(NO_GUI) && !defined(WITH_GTK12)
>  -LIB_DEPENDS=	gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
>  -.endif
>   .if !defined(NO_GUI)
>  +LIB_DEPENDS=	gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
>   USE_X_PREFIX=	yes
>  -.endif
>  -.if !defined(NO_GUI) && defined(WITH_GTK12)
>  -USE_GNOMENG=	yes
>  -USE_GNOME=	gtk12
>  -PKGNAMESUFFIX=	-gtk
>   .endif

This makes it check for !defined(NO_GUI) in one block, and then
!defined(NO_GUI) in the next. This is easier as an .if .else, which is
what I'm about to commit:

.if defined(WITHOUT_X11) || defined(NO_GUI)
NO_GUI=         yes
MAKE_ENV+=      NO_GUI=yes
.else
LIB_DEPENDS=    gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
USE_X_PREFIX=   yes
.endif

This also removes the need for the explicit NO_GUI=	yes def'n.

>    If you want to build The Fish without the GTK+ UI, use make -DNO_GUI

It's not being built without GTK as much as it is being built with
libcurses. I'd suggest "If you want to build The Fish with a curses UI,
use make -DNO_GUI."

# Adam, just got back from San Diego. I can't believe I payed that much
        money to watch the Raiders lose.


--
Adam Weinberger
vectors.cx	>>	adam@vectors.cx
FreeBSD.org	<<	adamw@FreeBSD.ORG
Bayer Berkeley	>>	adam.weinberger.b@bayer.com
#vim:set ts=8: 8-char tabs prevent tooth decay.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128010358.GG964>