From owner-svn-ports-all@FreeBSD.ORG Wed Jul 2 13:57:15 2014 Return-Path: Delivered-To: svn-ports-all@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 C33D4A35; Wed, 2 Jul 2014 13:57:15 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EE3927CF; Wed, 2 Jul 2014 13:57:15 +0000 (UTC) Received: from tuna.dhcp.nue.suse.com (nat.nue.novell.com [195.135.221.2]) by ainaz.pair.com (Postfix) with ESMTPSA id EF83B3F40F; Wed, 2 Jul 2014 09:57:03 -0400 (EDT) Date: Wed, 2 Jul 2014 15:57:02 +0200 (CEST) From: Gerald Pfeifer To: Tijl Coosemans 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... In-Reply-To: <201404231325.s3NDPHrv045503@svn.freebsd.org> Message-ID: References: <201404231325.s3NDPHrv045503@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 13:57:15 -0000 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