exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la. So everything that subsequently links with libA will also
link to these extra libraries. This causes too much overlinking.
This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging. However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.
So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries. Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field. In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.
PR: ports/188759
Exp-run: bdrewery
Approved by: portmgr (bdrewery)
Pass a PREFIX-safe Python library directory to Python --install arguments.
While I'm here:
- Re-order and sort USE(S) and PYDISTUTILS entries
- Whitespace alignment
- in x11-toolkits/scintilla, leverage USES=compiler to check if
we're on clang or gcc
PR: ports/188782, ports/188783
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
* While this dependency is proper, it creates a hard dependency on
ports-mgmt/pkg, which interferes with pkg-devel testing. Users
using pkg-devel are forced to install ports-mgmt/pkg if using this
port or anything depending on this port.
While the LIB_DEPENDS has been removed, pkg will still record that
the net-snmp package requires libpkg.so.1, due to its auto shlib
dependency registering. This is fine as the package depends on
libpkg.so.1 but not explicitly on ports-mgmt/pkg. The pkg solver
can decide how to satisfy that dependency.
* If using pkg you'll already have pkg installed while building
this port in ports or installing from packages. So nothing is lost
here.
* Once pkg-1.3 is out we may change ACTUAL-PACKAGE-DEPENDS to only
consider RUN_DEPENDS, not also LIB_DEPENDS. This would remove
the hard dependency on ports-mgmt/pkg here. pkg-1.2 cannot
handle this yet though.
Reported by: rpaulo
Reported at: https://github.com/freebsd/pkg/issues/785
With hat: portmgr
Changelog:
* Restored calls to png_set_crc_action() which had been removed from version 1.7.72 for some testing and inadvertently not restored.
* Changed "fix" internal variable name to "salvage" (still set with "-fix")
* Added code to fix/salvage PNG with "bad adaptive filter value" error.
* Avoid calculating CRC during compression trials except for the last trial, when the output is actually written.
* Fixed a bug with reducing 16-bit images to 8-bit using "-reduce" option.
PR: 188290
Submitted by: Anton Sayetsky <vsjcfm@gmail.com> (maintainer)
* git-commit-mode - A major mode for editing Git commit messages
according to the guidelines by Tim Pope.
* git-rebase-mode - A major mode for git-rebase-todo files created by
git rebase -i
* gitconfig-mode - A 'conf-mode'-derived major mode for editing
.gitconfig files.
* gitignore-mode - A 'conf-mode'-derived major mode for editing
.gitignore files.
* gitattributes-mode - A major mode for editing .gitattributes files.
WWW: https://github.com/magit/git-modes
PR: 187781
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
- Add IDN option and stop auto-detection of libidn
- Prefer base iconv
- Add USE_PERL5=build since it is needed only for build
- Use ${opt}_CONFIGURE_OFF knob for MAILWRAPPER option.
PR: ports/188839
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
change the cwd for commented lines (such as %%OPTION%%file). Reset it
back to the normal on the first non-commented line.
- Sort files after stripping out @comment
With hat: portmgr