From owner-freebsd-ports@FreeBSD.ORG Sat May 10 22:11:20 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AEA291CA for ; Sat, 10 May 2014 22:11:20 +0000 (UTC) Received: from mailrelay012.isp.belgacom.be (mailrelay012.isp.belgacom.be [195.238.6.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4C96FF86 for ; Sat, 10 May 2014 22:11:20 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlUGAISjblNR8aT4/2dsb2JhbABZDoJ4T8YuAYETF3SCJQEBBTocHgUQCxgJJQ8qHgaIWAHPeheOHzMHhEABA5lHgT2RS4F3f0I7 Received: from 248.164-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.164.248]) by relay.skynet.be with ESMTP; 11 May 2014 00:11:11 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s4AMB9WU013836; Sun, 11 May 2014 00:11:10 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sun, 11 May 2014 00:11:09 +0200 From: Tijl Coosemans To: "Montgomery-Smith, Stephen" Subject: Re: Problems with libtool and graphics/opendx; was: To all port maintainers: libtool Message-ID: <20140511001109.7a1812ba@kalimero.tijl.coosemans.org> In-Reply-To: <536E8A8D.3070504@missouri.edu> References: <20140508002420.5d37e7f6@kalimero.tijl.coosemans.org> <536E8A8D.3070504@missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@FreeBSD.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2014 22:11:20 -0000 On Sat, 10 May 2014 20:22:39 +0000 Montgomery-Smith, Stephen wrote: > I am trying to get the libtool changes to work with the port > graphics/opendx. I made the changes: > > Index: Makefile > =================================================================== > --- Makefile (revision 353598) > +++ Makefile (working copy) > @@ -16,10 +16,11 @@ > cdf:${PORTSDIR}/science/cdf > > USE_XORG= xinerama xext xpm xmu sm ice > -USES= bison motif gmake > +USES= bison motif gmake libtool > USE_GCC= any > USE_GL= yes > -USE_AUTOTOOLS= libtool > +GNU_CONFIGURE= yes > +#USE_AUTOTOOLS= libtool > USE_LDCONFIG= yes > CFLAGS+= ${PTHREAD_CFLAGS} > CONFIGURE_ENV= ARCH=freebsd > > Then when I do "make install" I got > pkg-static: > lstat(/usr/ports/graphics/opendx/work/stage/usr/local/dx/lib_freebsd/libDX.la): > No such file or directory > pkg-static: > lstat(/usr/ports/graphics/opendx/work/stage/usr/local/dx/lib_freebsd/libDX.so): > No such file or directory > pkg-static: > lstat(/usr/ports/graphics/opendx/work/stage/usr/local/dx/lib_freebsd/libDX.so.4): > No such file or directory > etc. > > When I do "find . -name "libDX.*"", I get > ./work/dx-4.4.4/src/exec/.libs/libDX.lai > ./work/dx-4.4.4/src/exec/.libs/libDX.a > ./work/dx-4.4.4/src/exec/.libs/libDX.la > ./work/dx-4.4.4/src/exec/libDX.la > ./work/stage/usr/local/dx/lib_freebsd/libDX.a > suggesting that the "*.so" files were never created. > > Did I miss something? > > The modifiers :keepla and :oldver don't seem to help. If you go to the work directory and run "./configure --help" the output contains this: --enable-shared[=PKGS] build shared libraries [default=no] --enable-static[=PKGS] build static libraries [default=yes] This means shared libraries aren't built by default, but you can enable them by adding "CONFIGURE_ARGS=--enable-shared" to the port Makefile. You'll have to make some changes to pkg-plist but running "make check-plist' will help you with that. You can also delete files/patch-ltmain.sh. USES=libtool handles that now.