Opened 14 years ago

Closed 13 years ago

#22778 closed defect (fixed)

tre: tre.pc contains -arch flags

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: haspatch Cc:
Port: tre

Description

I installed tre +universal (x86_64/i386) on Snow Leopard, and the resulting tre.pc file contains -arch flags:

$ cat   /opt/local/lib/pkgconfig/tre.pc
prefix=/opt/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: TRE
Description: TRE regexp matching library
Version: 0.8.0
Libs: -L${libdir} -ltre -L/opt/local/lib -arch x86_64 -arch i386 -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation 
Cflags: -I${includedir} -I/opt/local/include

These should be removed from the tre.pc file.

Attachments (2)

tre.diff (529 bytes) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
here's a patch
tre2.diff (1.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
revised patch that also installs documentation files and indicates the license

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: tre.diff added

here's a patch

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: tre2.diff added

revised patch that also installs documentation files and indicates the license

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: haspatch added

So are you going to commit this or what?

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

Resolution: fixed
Status: newclosed

r75874 (maintainer timeout).

Note: See TracTickets for help on using tickets.