Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12310 closed enhancement (fixed)

RFE: Allow packages in base/src to use different libs

Reported by: sfiera@… Owned by: sfiera@…
Priority: Normal Milestone: MacPorts 1.5
Component: base Version:
Keywords: Cc:
Port:

Description

There are a number of different dylibs that are compiled in base/src/*: macports; pextlib; darwintracelib; tclobjc; and in the future, cflib and registry2.0. All of these need different libraries to function, but there's not currently a way to link different libraries into the different dylibs (well, cflib and tclobjc sort of do it, but they still link a lot of unnecessary stuff). I've prepared a patch that will allow these different packages to have full control over the libs they link to.

While I don't think it's all that detrimental to link libz, libcurl, libcrypto, sqlite3, and readline into e.g. darwintracelib, I'm pretty sure it's not necessary--I've installed the results of my patch and port -t still works just fine--and it strikes me as safer/cleaner.

Attachments (1)

libs.patch (5.2 KB) - added by sfiera@… 17 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 17 years ago by kballard (Lily Ballard)

Uh, you do realize that your patch includes lots of changes to PortIndex and various Portfiles, right? Please clean it up and resubmit.

Changed 17 years ago by sfiera@…

Attachment: libs.patch added

comment:2 Changed 17 years ago by sfiera@…

Realized it yesterday, but hadn't had the time to clean it up until now. Fixed.

comment:3 Changed 17 years ago by sfiera@…

Resolution: fixed
Status: newclosed

Merged in as r27295, r27296, r27297

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Needs developer reviewMacPorts base bugs

Milestone Needs developer review deleted

comment:5 Changed 17 years ago by nox@…

Milestone: MacPorts base bugsMacPorts base enhancements
Summary: Allow packages in base/src to use different libsRFE: Allow packages in base/src to use different libs
Version: 1.5.0

comment:6 Changed 17 years ago by nox@…

Priority: Not setNormal

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.5
Note: See TracTickets for help on using tickets.