git: b2f6d7df7e53 - main - net-mgmt/nagnu: unbreak on FreeBSD 13+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Apr 2023 23:04:26 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=b2f6d7df7e53395ff56d4c0eeb087a51d9035f19 commit b2f6d7df7e53395ff56d4c0eeb087a51d9035f19 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-04-11 00:59:02 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-04-11 23:02:44 +0000 net-mgmt/nagnu: unbreak on FreeBSD 13+ Build with -fcommon to avoid a duplicate symbol error. See also: https://github.com/frlen/nagnu/issues/5 Approved by: portmgr (build fix blanket) --- net-mgmt/nagnu/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net-mgmt/nagnu/Makefile b/net-mgmt/nagnu/Makefile index 510a98443c5e..5ee8e0a6c6e8 100644 --- a/net-mgmt/nagnu/Makefile +++ b/net-mgmt/nagnu/Makefile @@ -1,5 +1,6 @@ PORTNAME= nagnu PORTVERSION= 1.1.3 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= fredrik@min-hemsida.net @@ -9,9 +10,6 @@ WWW= https://github.com/frlen/nagnu LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_13= ld: error: duplicate symbol: errorss -BROKEN_FreeBSD_14= ld: error: duplicate symbol: errorss - LIB_DEPENDS= libcurl.so:ftp/curl USES= ncurses @@ -22,6 +20,7 @@ PLIST_FILES= bin/nagnu \ share/examples/nagnu/nagnu.conf.sample GNU_CONFIGURE= yes +CFLAGS+= -fcommon do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nagnu ${STAGEDIR}${PREFIX}/bin