[134935] trunk/dports/devel/libcdio/Portfile

Mihai Moldovan ionic at macports.org
Fri Apr 10 22:55:18 PDT 2015


> Revision: 134935
>           https://trac.macports.org/changeset/134935
> Author:   ionic at macports.org
> Date:     2015-04-10 22:52:48 -0700 (Fri, 10 Apr 2015)
> Log Message:
> -----------
> libcdio: insert ugly hack for replacing libtool arguments with real linker arguments.
> 
> Modified Paths:
> --------------
>     trunk/dports/devel/libcdio/Portfile
> 
> Modified: trunk/dports/devel/libcdio/Portfile
> ===================================================================
> --- trunk/dports/devel/libcdio/Portfile	2015-04-11 05:01:10 UTC (rev 134934)
> +++ trunk/dports/devel/libcdio/Portfile	2015-04-11 05:52:48 UTC (rev 134935)
> @@ -5,6 +5,7 @@
>  
>  name                libcdio
>  version             0.93
> +revision            1
>  categories          devel
>  platforms           darwin
>  license             GPL-3+
> @@ -35,5 +36,14 @@
>  
>  configure.args      --disable-silent-rules
>  
> +# This is a hack because libcdio incorrectly registers the detected
> +# libiconv linking options *for libtool* in its .pc files.
> +# Should probably be handled another way?
> +post-configure {
> +    foreach pcfile [glob ${worksrcpath}/*.pc] {
> +        reinplace -W "${worksrcpath}/lib/pkgconfig" "s/-R/-Wl,-rpath,/g" "${pcfile}"
> +    }
> +}
> +
>  test.run            yes
>  test.target         check

Does anyone know of a *proper and sane* way to fix this?

I couldn't come up with anything reasonable... and even my hack isn't
really "reasonable".


Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150411/4e764be7/attachment-0001.sig>


More information about the macports-dev mailing list