pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wget does not compile on FreeBSD12 with openssl
I think you're focusing on the wrong targets. If you want a fully static
pkgsrc, what you need is:
- Libraries are never dependencies to packages using them, they can be
deleted later on.
The existence of a dynamic library is not a problem. You want to
delete it, and the static one too.
The normal pkgsrc way to declare something is only needed at build
time is:
BUILDLINK_DEPMETHOD.pkgname?= build
- You will want to use -Wl,--start-group -Wl,--end-group, to avoid
running into issues with packages linking libraries in the wrong
order. Perhaps cwrappers can split arguments to PREPEND and APPEND,
GCC has specfiles, and clang can C++-override things with LD_PRELOAD.
Note that any solution requiring the modification of the package
contents to work will be dismissed as a too niche use case to justify
the maintenance.
Home |
Main Index |
Thread Index |
Old Index