#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)
Change History (8)
comment:1 Changed 17 years ago by kballard (Lily Ballard)
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: | new → closed |
comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | Needs developer review → MacPorts base bugs |
---|
Milestone Needs developer review deleted
comment:5 Changed 17 years ago by nox@…
Milestone: | MacPorts base bugs → MacPorts base enhancements |
---|---|
Summary: | Allow packages in base/src to use different libs → RFE: Allow packages in base/src to use different libs |
Version: | 1.5.0 |
comment:6 Changed 17 years ago by nox@…
Priority: | Not set → Normal |
---|
comment:7 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.5 |
---|
Uh, you do realize that your patch includes lots of changes to PortIndex and various Portfiles, right? Please clean it up and resubmit.