Opened 19 years ago

Closed 19 years ago

#7247 closed defect (fixed)

dbh has bad value in pkgconfig .pc file

Reported by: djvasi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: djvasi@…
Port:

Description

Port 'dbh' puts '-Wl,-R${libdir}' in ${prefix}/lib/pkgconfig/dbh-1.0.pc . However the -R (-rpath) option only works with GNU ld, it is usually not needed with the Darwin linker.

This bug is the cause for the error in bug #3768 .

The following pre-configure fixes the problem:

pre-configure {

system "perl -i -pe 's/-Wl,-R
S+' ${worksrcpath}/src/dbh-1.0.pc.in"

}

Change History (2)

comment:1 Changed 19 years ago by djvasi@…

blocked: 3768
Cc: djvasi@… added

comment:2 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

commited - using reinplace instead.

thanks

Note: See TracTickets for help on using tickets.