Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 17:06:11 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Gerald Pfeifer <gerald@pfeifer.com>, ports-committers@freebsd.org
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:  <20140702170611.63bf3ec9@kalimero.tijl.coosemans.org>
In-Reply-To: <20140702150037.GA24499@ivaldir.etoilebsd.net>
References:  <201404231325.s3NDPHrv045503@svn.freebsd.org> <alpine.LSU.2.11.1406301209040.30120@tuna.site> <20140702164609.000d0561@kalimero.tijl.coosemans.org> <20140702150037.GA24499@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/b0BIE7Nhp=f9zkpz5wCTtCs
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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=3Dlibtool is modified to remove .la librari=
es and a
>>>>   new form (USES=3Dlibtool:keepla) is introduced in case they need to =
be kept
>>>>   (dependency_libs is still emptied).
>>>=20
>>> for lang/gcc* I've been doing
>>>   ${RM} -f ${STAGEDIR}${TARGLIB}/*.la
>>> for ages.  These ports do not have USES=3Dlibtool yet, though.
>>>=20
>>> 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.
>>>=20
>>> =3D=3D=3D>  Building package for gcc410-4.10.0.s20140629
>>> pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/gcc/i=
386-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/i=
386-portbld-freebsd10.0/4.10.0/libgfortranbegin.la): No such file or direct=
ory
>>> pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/libsu=
pc++.la): No such file or directory
>>> pkg-static: lstat(.../stage/scratch2/tmp/gerald/prefix/lib/gcc410/libst=
dc++.la): No such file or directory
>>>=20
>>>=20
>>> What do you recommend?  Am I missing something?  I can certainly leave=
=20
>>> the ports is as; mainly wanted to be a good citizen. :-)
>>>=20
>>> Gerald
>>>=20
>>> Index: Makefile
>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>> --- Makefile	(revision 359810)
>>> +++ Makefile	(working copy)
>>> @@ -32,7 +32,7 @@
>>>  GCC_VERSION=3D	${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}
>>>  SUFFIX=3D		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
>>>  ONLY_FOR_ARCHS=3D	amd64 i386 powerpc powerpc64 sparc64
>>> -USES=3D		gmake iconv perl5 tar:bzip2 makeinfo
>>> +USES=3D		gmake iconv libtool makeinfo perl5 tar:bzip2
>>>  USE_BINUTILS=3D	yes
>>>  USE_PERL5=3D	build
>>>  SSP_UNSAFE=3D	yes
>>> @@ -134,7 +134,6 @@
>>>  .endif
>>> =20
>>>  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
>>=20
>> The problem is that you create plist in post-install while USES=3Dlibtool
>> 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=3Dlibtool).
>=20
> You can create plist in post-install-script that will work.

No, he needs a target after patch-lafiles.

--Sig_/b0BIE7Nhp=f9zkpz5wCTtCs
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREKAAYFAlO0H+kACgkQfoCS2CCgtismYQEAgshHbHD4RhI3LgQb8GDGnl9T
1jkNxdSVnSUWSaelQTYA/1J62YlDoFK+zr/iiGs5jin9OCb+ZOzKsgZsR/84cKKc
=enlM
-----END PGP SIGNATURE-----

--Sig_/b0BIE7Nhp=f9zkpz5wCTtCs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140702170611.63bf3ec9>