Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2002 20:20:48 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        kkonstan@duth.gr
Cc:        pat@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, kkonstan@daemon.gr
Subject:   Re: cvs commit: ports/x11-fonts/webfonts Makefile
Message-ID:  <200202040120.g141KpQ19591@aldan.algebra.com>
In-Reply-To: <3C5DAF3E.779D585F@duth.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On  3 Feb, Konstantinos Konstantinidis wrote:
>> >   Modified files:
>> >     x11-fonts/webfonts   Makefile
>> >   Log:
>> >   Last  attempt to  fix the  prefix problem  was just  a revert  of
>> >   fenner's changes  so fix  that and  just add  USE_X_PREFIX before
>> >   .include <bsd.port.pre.mk>
>> 
>> Actually, there is nothing in  this port, that requires XLIB (impiled
>> by the USE_X_PREFIX). They can,  for example, be used in conjunctions
>> with gd2-port to generate images on  the fly and so on, but currently
>> require X11 :-\
>> 
>> IMHO, even the xfstt dependency should be optional...
>> 
>>         -mi
[...] 
> I  think however  that we  can  have our  cake  and eat  it too,  I'll
> just  add  a  WITHOUT_X11  that  will build  the  fonts  with  no  X11
> dependencies  and  install  them   to  /usr/local/share...  any  other
> suggestions/comments?

I think, having the  xfstt is a fine idea (even if  by default), but why
not ALWAYS  install into /usr/local/share?  X-server will find  it there
just as well.  In reality, this stuff doesn't use  X-prefix, and doesn't
use the X-libs either :-) Nice and simple

	-USE_X_PREFIX=   yes

	 .include <bsd.port.pre.mk>

	-.if ${XFREE86_VERSION} == 3
	+.if !defined(WITHOUT_X11) && ${XFREE86_VERSION} == 3
	 RUN_DEPENDS=	xfstt:${PORTSDIR}/x11-servers/Xfstt

	-mi



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




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