git: 4124c92e5dfe - main - sysutils/ftwin: Remove databases/db5 dependency

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 19 May 2024 12:06:36 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4124c92e5dfec5647b74cf92f67fd82078a178f8

commit 4124c92e5dfec5647b74cf92f67fd82078a178f8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-19 11:11:44 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-19 12:06:33 +0000

    sysutils/ftwin: Remove databases/db5 dependency
    
    Added in SVN r533094 due to overlinking
    Add "-Wl,--as-needed" to LDFLAGS
    
    Approved by:    portmgr (blanket, build fix)
---
 sysutils/ftwin/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sysutils/ftwin/Makefile b/sysutils/ftwin/Makefile
index 1c1b9ac3ee3e..f2ef7f4bfaea 100644
--- a/sysutils/ftwin/Makefile
+++ b/sysutils/ftwin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ftwin
 PORTVERSION=	0.8.10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	shoesoft@gmx.net
@@ -17,13 +17,14 @@ LIB_DEPENDS=	libapr-1.so:devel/apr1 \
 		libpcre.so:devel/pcre \
 		libpuzzle.so:graphics/libpuzzle
 
-USES=		autoreconf bdb libarchive pkgconfig tar:bzip2
+USES=		autoreconf libarchive pkgconfig tar:bzip2
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-archive=${LOCALBASE}
 USE_GITHUB=	yes
 GH_ACCOUNT=	fpesce
 GH_TAGNAME=	3355fd9
+LDFLAGS+=	-Wl,--as-needed
 MAKE_ARGS=	CFLAGS="${CFLAGS}"
 
 PORTDOCS=	AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION README