From owner-freebsd-ports Fri Oct 5 22:41:12 2001 Delivered-To: freebsd-ports@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 8D57F37B403; Fri, 5 Oct 2001 22:41:06 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2:290:27ff:fe98:c0b7]) by white.imgsrc.co.jp (Postfix) with ESMTP id 64A5D24D48; Sat, 6 Oct 2001 14:41:05 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2:2d0:b7ff:fea0:d487]) by black.imgsrc.co.jp (Postfix) with ESMTP id 2196ED1406; Sat, 6 Oct 2001 14:41:04 +0900 (JST) Date: Sat, 06 Oct 2001 14:41:01 +0900 Message-ID: <7m1ykhl40i.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: Johann Visagie Cc: portmgr@FreeBSD.org, ports@FreeBSD.org Subject: Re: USE_LIBTOOL breakage in freebsd.port.mk In-Reply-To: <20011004152617.J21830@fling.sanbi.ac.za> References: <20011004152617.J21830@fling.sanbi.ac.za> User-Agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 4) (Artificial Intelligence) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Thu, 4 Oct 2001 13:26:41 +0000 (UTC), Johann Visagie wrote: > I've now come across two packages - iODBC (http://www.iodbc.org/) and > ORBit-C++ (http://orbitcpp.sourceforge.net/) which ship with an autoconf > 2.13-generated configure script containing the following line: > > ltmain="$ac_aux_dir/ltmain.sh" > > The value of ${ltmain} is later tested for file existence in order to > determine whether to build the libtool script: > > if test -f "$ltmain"; then > <> > fi > > In updating/creating ports for these packages, I found that if USE_LIBTOOL is > defined, the patch-libtool target in bsd.port.mk munges the line where > ${ltmain} is defined to become: > > ltmain="--disable-ltlibs /usr/local/share/libtool/ltmain.sh" > > This of course fails the "test -f", with the result that libtool is never > created and the port build breaks. > > Attached is a patch for bsd.port.mk to work around the problem. Comments? It seems my problem on net-snmp (4.2.2-pre*) can be solved with this patch. Portmgr, is there a problem if I commit this patch? -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message