From owner-freebsd-ports Sun May 7 23:56:50 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mailgw1.be.to (mailgw1.be.to [210.235.212.5]) by hub.freebsd.org (Postfix) with ESMTP id 2F6BA37B8BA for ; Sun, 7 May 2000 23:56:47 -0700 (PDT) (envelope-from okazaki@be.to) Received: from mail1.be.to (mail1.be.to [210.235.212.2]) by mailgw1.be.to (8.9.3+3.2W/BETO.2.1-2000050622000035) with ESMTP id PAA21537 for ; Mon, 8 May 2000 15:56:43 +0900 Received: from acidrain (ppp14-Mobara1.mtci.ne.jp [210.172.1.216]) by mail1.be.to (8.9.3+3.2W/BETO.2.0-2000050215000000) with SMTP id PAA06387 for ; Mon, 8 May 2000 15:56:36 +0900 X-Authentication-Warning: mail1.be.to: Host ppp14-Mobara1.mtci.ne.jp [210.172.1.216] claimed to be acidrain Received: (qmail 487 invoked from network); 8 May 2000 06:54:33 -0000 Received: from localhost (HELO acidrain.localnet) (127.0.0.1) by localhost with SMTP; 8 May 2000 06:54:33 -0000 Date: Mon, 08 May 2000 15:54:32 +0900 Message-ID: <8666sp4jmf.wl@dolphin.be.to> From: OKAZAKI Tetsurou To: asami@freebsd.org Cc: ports@freebsd.org Subject: Re: ports projects In-Reply-To: In your message of "Tue, 2 May 2000 05:12:53 -0700 (PDT)" <200005021212.FAA46737@silvia.hip.berkeley.edu> References: <200005021212.FAA46737@silvia.hip.berkeley.edu> User-Agent: Wanderlust/1.1.1 (Purple Rain) REMI/1.14.1 (=?ISO-8859-4?Q?Mus?= =?ISO-8859-4?Q?higawa=F2sugi?=) Chao/1.14.1 (=?ISO-8859-4?Q?Rokujiz=F2?=) APEL/10.2 Emacs/20.6 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Unknown MIME-Version: 1.0 (generated by REMI 1.14.1 - =?ISO-8859-4?Q?=22Mushigawa=F2?= =?ISO-8859-4?Q?sugi=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In the message <200005021212.FAA46737@silvia.hip.berkeley.edu> asami@freebsd.org (Satoshi Asami) wrote: > @ PREFIX-cleanness (status: (slowly) in progress) > I'm thinking about modifying the package build script so that the > mid-week (the runs that build RESTRICTED ports and everything > since it's not for FTP) builds will run with LOCALBASE and X11BASE > set to someplace else. If we consider that GNU configure has its own predefined lists of directories(*1) to guess where X11 headers and libraries are installed, the following stuff should be at the apropriate place in the bsd.port.mk. .if defined(GNU_CONFIGURE) .if defined(USE_XLIB) CONFIGURE_ARGS+= --with-x --x-includes="${X11BASE}/include" \ --x-libraries="${X11BASE}/lib" .else CONFIGURE_ARGS+= --without-x .endif .endif --------------- *1: See below. # Look for the header file in a standard set of common directories. # Check X11 before X11Rn because it is often a symlink to the current release. for ac_dir in \ /usr/X11/include \ /usr/X11R6/include \ /usr/X11R5/include \ /usr/X11R4/include \ \ /usr/include/X11 \ /usr/include/X11R6 \ /usr/include/X11R5 \ /usr/include/X11R4 \ ...(bla bla)... # First see if replacing the include by lib works. # Check X11 before X11Rn because it is often a symlink to the current release. for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ /usr/X11/lib \ /usr/X11R6/lib \ /usr/X11R5/lib \ /usr/X11R4/lib \ \ /usr/lib/X11 \ /usr/lib/X11R6 \ /usr/lib/X11R5 \ /usr/lib/X11R4 \ ... -- Tetsurou To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message