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...

Tijl Coosemans tijl at FreeBSD.org
Wed Jul 2 15:06:27 UTC 2014


On Wed, 2 Jul 2014 17:00:37 +0200 Baptiste Daroussin wrote:
> On Wed, Jul 02, 2014 at 04:46:09PM +0200, Tijl Coosemans wrote:
>> On Wed, 2 Jul 2014 15:57:02 +0200 (CEST) Gerald Pfeifer wrote:
>>> 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).
> 
> You can create plist in post-install-script that will work.

No, he needs a target after patch-lafiles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140702/bb97fab6/attachment.sig>


More information about the svn-ports-all mailing list