trouble building new libpano portfile
Rainer Müller
raimue at macports.org
Sat Sep 11 08:44:33 PDT 2010
On 2010-09-11 17:18 , Bradley Giesbrecht wrote:
> Replace curly braces with double quotes for reinplace regex.
>
> post-configure {
> if {[variant_isset universal]} {
> foreach arch ${universal_archs} {
> reinplace -E "s|-dynamiclib|-dynamiclib -arch ${arch}|" $
> {worksrcpath}/libtool
> }
> } else {
> reinplace -E "s|-dynamiclib|-dynamiclib -arch $
> {build_arch}|" ${worksrcpath}/libtool
> }
> }
It would probably be more appropriate to use
${configure.universal_ldflags} and ${configure.ld_archflags}.
Rainer
More information about the macports-dev
mailing list