Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2000 13:02:38 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Satoshi Asami <asami@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Proposal [Was: cvs commit: ports/astro/ssystem Makefile  ports/astro/wmmoonclockMakefile ports/astro/wmspaceweather Makefile  ports/astro/wmsunMakefile ports/astro/xephem Makefile  ports/astro/xplanet Makefileports/astro/xtide Makefile ports/audio/ascd  Makefile ...]
Message-ID:  <3989433E.14899DBF@FreeBSD.org>
References:  <200008030928.CAA41430@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi Asami wrote:

> asami       2000/08/03 02:28:58 PDT
>
>   Log:
>   (1) Add new variable, XFREE86_VERSION, to specify which version of
>       XFree86 (3 or 4) to depend to when USE_XLIB is set.

How about my suggestion to add simple script installed along with corresponding
XFree86-{3,4} port, which will tell version of XFree currently installed? Thus
we could free the user from the need to adjust XFREE86_VERSION version.
Alternatively it could be autodefined in ${X11BASE}/etc/make.conf, which is to
be included by sys.mk if exists, i.e.:

diff -du -r1.1 sys.mk
--- sys.mk      2000/08/03 09:53:31     1.1
+++ sys.mk      2000/08/03 09:55:11
@@ -244,6 +244,10 @@
 .include </etc/make.conf>
 .endif

+.if exists(${X11BASE}/etc/make.conf)
+.include <${X11BASE}/etc/make.conf>
+.endif
+
 .if exists(/etc/make.conf.local)
 .error Error, original /etc/make.conf should be moved to the /etc/defaults/
dir
ectory and /etc/make.conf.local should be renamed to /etc/make.conf.
 .include </etc/make.conf.local>

${X11BASE}/etc/make.conf then could be uses for other purposes as well, for
example LessTif/Motif could add/remove HAVE_MOTIF to it automatically; utah-glx
could add USE_GLX, so the aware GL ports will be depended correctly to
graphics/utah-glx instead of graphics/Mesa3 etc.

-Maxim



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3989433E.14899DBF>