Opened 15 years ago

Closed 7 years ago

#23041 closed defect (worksforme)

exiv2: exiv2.pc contains archflags

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: exiv2

Description

exiv2's /opt/local/lib/pkgconfig/exiv2.pc contains archflags:

$ grep x86_64 $(port contents exiv2 | sed 1d)
/opt/local/lib/pkgconfig/exiv2.pc:Libs.private: -L/opt/local/lib -arch x86_64 -arch i386 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lintl -L/opt/local/lib -liconv -lc -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -liconv -R/opt/local/lib -lz   -lexpat

reinplace should be used to remove these from the file before installation.

Change History (3)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r61999.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

Not so fast: now (using the patch from #15514) we have:

--->  Computing dependencies for exiv2
--->  Fetching exiv2
--->  Verifying checksum(s) for exiv2
--->  Extracting exiv2
--->  Configuring exiv2
Warning: reinplace s|-arch [a-z0-9_]+||g didn't change anything in /i386-10.5-mp/var/macports/build/_Users_rschmidt_macports_dports_graphics_exiv2/work/exiv2-0.18.2/config/exiv2.pc
--->  Building exiv2
--->  Staging exiv2 into destroot

That's on 10.5 i386 only.

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Cc: tcurdt@… removed
Resolution: worksforme
Status: reopenedclosed

This no longer appears to be the case:

$ grep x86_64 $(port contents exiv2 | sed 1d)
$
Note: See TracTickets for help on using tickets.