Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 19:57:59 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 86c785a9ec1c - main - comms/twpsk: Fix build with llvm16
Message-ID:  <202307211957.36LJvxpt041118@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86c785a9ec1c255536447d1a4d99648049e63886

commit 86c785a9ec1c255536447d1a4d99648049e63886
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 18:32:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 19:57:51 +0000

    comms/twpsk: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 comms/twpsk/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/comms/twpsk/Makefile b/comms/twpsk/Makefile
index 53e1e9c6a3f6..41e882a32d8c 100644
--- a/comms/twpsk/Makefile
+++ b/comms/twpsk/Makefile
@@ -11,14 +11,18 @@ WWW=		http://wa0eir.bcts.info/twpsk.html
 
 LICENSE=	GPLv3
 
-USES=		motif pkgconfig xorg
-USE_XORG=	sm ice xt x11
-
 LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 
+USES=		localbase motif pkgconfig xorg
+USE_CXXSTD=	c++14
+USE_XORG=	ice sm xt x11
+
 GNU_CONFIGURE=	yes
-CFLAGS+=	-L${LOCALBASE}/lib -I${PREFIX}/include
+
+CFLAGS+=	-L${LOCALBASE}/lib
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307211957.36LJvxpt041118>