git: 86c785a9ec1c - main - comms/twpsk: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jul 2023 19:57:59 UTC
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