From owner-svn-ports-head@FreeBSD.ORG Wed Jul 2 14:46:20 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11E35301; Wed, 2 Jul 2014 14:46:20 +0000 (UTC) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id D20F32D3F; Wed, 2 Jul 2014 14:46:18 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmMGAM4ZtFNbsKhu/2dsb2JhbABagw3EM4MVAYEGF3WEAwEBBTocHgUQCxgJGgsPKh4GiFkBxigXjm8zB4RDAQSabJQKggGBRDs Received: from 110.168-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.168.110]) by relay.skynet.be with ESMTP; 02 Jul 2014 16:46:11 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s62Ek9k9004660; Wed, 2 Jul 2014 16:46:10 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Wed, 2 Jul 2014 16:46:09 +0200 From: Tijl Coosemans To: Gerald Pfeifer Subject: Re: svn commit: r351936 - in head: . Mk Mk/Uses archivers/libcomprex archivers/libdynamite archivers/liborange archivers/librtfcomp archivers/lzo2 archivers/ucl archivers/unshield audio/gstreamer1-plug... Message-ID: <20140702164609.000d0561@kalimero.tijl.coosemans.org> In-Reply-To: References: <201404231325.s3NDPHrv045503@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, bapt@FreeBSD.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 14:46:20 -0000 On Wed, 2 Jul 2014 15:57:02 +0200 (CEST) Gerald Pfeifer wrote: > Hi Tijl, > > On Wed, 23 Apr 2014, Tijl Coosemans wrote: > > So with this commit USES=libtool is modified to remove .la libraries and a > > new form (USES=libtool:keepla) is introduced in case they need to be kept > > (dependency_libs is still emptied). > > for lang/gcc* I've been doing > ${RM} -f ${STAGEDIR}${TARGLIB}/*.la > for ages. These ports do not have USES=libtool yet, though. > > Based on your explanation, I was considering the patch below. Alas > with that I see lots of the following, so apparently it's not a good > idea. > > ===> Building package for gcc410-4.10.0.s20140629 > pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/gcc/i386-portbld-freebsd10.0/4.10.0/libcaf_single.la): No such file or directory > pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/gcc/i386-portbld-freebsd10.0/4.10.0/libgfortranbegin.la): No such file or directory > pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/libsupc++.la): No such file or directory > pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/libstdc++.la): No such file or directory > > > What do you recommend? Am I missing something? I can certainly leave > the ports is as; mainly wanted to be a good citizen. :-) > > Gerald > > Index: Makefile > =================================================================== > --- Makefile (revision 359810) > +++ Makefile (working copy) > @@ -32,7 +32,7 @@ > GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} > SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} > ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 > -USES= gmake iconv perl5 tar:bzip2 makeinfo > +USES= gmake iconv libtool makeinfo perl5 tar:bzip2 > USE_BINUTILS= yes > USE_PERL5= build > SSP_UNSAFE= yes > @@ -134,7 +134,6 @@ > .endif > > post-install: > - ${RM} -f ${STAGEDIR}${TARGLIB}/*.la > ${RM} -f ${STAGEDIR}${PREFIX}/man/man7/* > ${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \ > ${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1 The problem is that you create plist in post-install while USES=libtool only removes .la files after staging. I'm thinking of moving the patch-lafiles target right before post-stage so you can create plist in post-stage, but for now you'll have to keep the RM (together with USES=libtool).