From owner-freebsd-ports Thu Dec 27 9:42:28 2001 Delivered-To: freebsd-ports@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id EABA637B416 for ; Thu, 27 Dec 2001 09:42:21 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id fBRHgbb12675 for ; Thu, 27 Dec 2001 12:42:37 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Thu, 27 Dec 2001 12:42:37 -0500 (EST) From: Joe Clarke To: freebsd-ports@FreeBSD.ORG Subject: Re: Problems with porting and libtool In-Reply-To: <20011227123123.R11529-100000@shumai.marcuscom.com> Message-ID: <20011227124227.V11529-100000@shumai.marcuscom.com> MIME-Version: 1.0 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 Nevermind, I found my answer in the archives. Thanks. Joe On Thu, 27 Dec 2001, Joe Clarke wrote: > I'm having a problem creating a port that uses libtool. The problem > revolves around bsd.port.mk. I'm hoping someone has run into this before. > bsd.port.mk, if USE_LIBTOOL = yes says to substitute the following for > ltmain: > > ${LIBTOOLFLAGS} $${LIBTOOLDIR}/ltmain.sh > > This effectively sets ltmain to > > /usr/local/share/libtool/ltmain.sh > > Unfortunately, is not empty. This changes ltmain from > a file specification to a CLI command. This breaks a test -f in > configure, and libtool is never generated. > > My workaround is to hardcode a new variable in configure, ltmain_file that > points to /usr/local/share/libtool/ltmain.sh without any CLI arguments. > This will allow the tests to succeed. Has anyone else seen this before? > Could this be a bug in bsd.port.mk? Thanks. > > Joe > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message