From owner-freebsd-ports Thu Aug 3 3: 2:51 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 6CEE737B8B7; Thu, 3 Aug 2000 03:02:44 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.106]) by blizzard.sabbo.net (8.9.1/8.9.3) with ESMTP id NAA18271; Thu, 3 Aug 2000 13:02:39 +0300 (EEST) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.9.3/8.9.3) with ESMTP id NAA56243; Thu, 3 Aug 2000 13:02:39 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3989433E.14899DBF@FreeBSD.org> Date: Thu, 03 Aug 2000 13:02:38 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Satoshi Asami 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 ...] References: <200008030928.CAA41430@freefall.freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 .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 ${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