Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#26880 closed defect (fixed)

devel/swig add dependency on PCRE

Reported by: rmstonecipher@… Owned by: kevin@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: jyrkiwahlstedt, rowue@…
Port: swig

Description

SWIG 2.0.1 failed to configure because I did not have PCRE installed.
I do not know if port:pcre or port:pcrexx (the C++ bindings) should be a library dependency or a build dependency.

Attachments (1)

Portfile.diff (394 bytes) - added by rowue@… 13 years ago.
Patch for Portfile including pcre

Download all attachments as: .zip

Change History (7)

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

Port: swig added; siwg removed

Changed 13 years ago by rowue@…

Attachment: Portfile.diff added

Patch for Portfile including pcre

comment:2 Changed 13 years ago by rowue@…

The attached portfile should get rif of the problem (tested with 10.5, 32Bit)

comment:3 Changed 13 years ago by rowue@…

Cc: rowue@… added

Cc Me!

comment:4 Changed 13 years ago by danmichaelo+macports@…

I ran into the same problem. Added pcre to depends_build (just as rowue did) and then swig built fine. On 10.6, 64 bit.

comment:5 Changed 13 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

Verified and fixed in r72676

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

It's not just a build time dependency:

% otool -L /opt/local/bin/swig
/opt/local/bin/swig:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
	/opt/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current version 1.1.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

r72677

Note: See TracTickets for help on using tickets.