git: ba54accf2651 - main - devel/kdesvn: Try to prevent overlinking
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Jun 2024 21:27:16 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba54accf2651fcc45ff208e347e7d3190ecdb08b commit ba54accf2651fcc45ff208e347e7d3190ecdb08b Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-06-10 21:06:09 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-06-10 21:26:01 +0000 devel/kdesvn: Try to prevent overlinking Add -Wl,--as-needed to LDFLAGS to prevent overlinking and remove incorrect dependency of BDB5 PR: 279128 Approved by: kde (tcberner) --- devel/kdesvn/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devel/kdesvn/Makefile b/devel/kdesvn/Makefile index c4e2a9d7b9c8..47bd885a652c 100644 --- a/devel/kdesvn/Makefile +++ b/devel/kdesvn/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS+= libsvn_client-1.so:devel/subversion CONFLICTS_INSTALL= qsvn -USES= bdb cmake compiler:c++11-lang kde:5 qt:5 tar:xz xorg +USES= cmake compiler:c++11-lang kde:5 qt:5 tar:xz xorg USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons dbusaddons i18n iconthemes itemviews jobwidgets kio \ notifications parts service solid sonnet texteditor \ @@ -34,6 +34,8 @@ USE_XORG= x11 PORTSCOUT= ignore:1 +LDFLAGS+= -Wl,--as-needed + post-patch: ${REINPLACE_CMD} -e 's#%%EXECINFO%%#${EXECINFO_LDFLAGS} -lexecinfo#' \ ${PATCH_WRKSRC}/src/svnqt/cmake/FindSubversion.cmake