Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 16:51:02 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: 140b0020bc6c - main - net/Sockets: Fix build with llvm16
Message-ID:  <202307231651.36NGp21x000658@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=140b0020bc6c2976175a95b8d2c3291ebdb32f16

commit 140b0020bc6c2976175a95b8d2c3291ebdb32f16
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 16:11:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 16:11:01 +0000

    net/Sockets: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net/Sockets/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net/Sockets/Makefile b/net/Sockets/Makefile
index 464b659d4a72..6799ae96bc3b 100644
--- a/net/Sockets/Makefile
+++ b/net/Sockets/Makefile
@@ -9,15 +9,17 @@ MAINTAINER=	ml@netfence.it
 COMMENT=	C++ wrapper for BSD-style sockets
 WWW=		http://www.alhem.net/Sockets/
 
-USES+=		gmake gnome ssl
+USES=		gmake gnome ssl
+USE_CXXSTD=	c++14
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
-CFLAGS+=	-I${OPENSSLINC}
-LDFLAGS+=	-L${OPENSSLLIB}
 
 ALL_TARGET=	all shared
 INSTALL_TARGET=	install_shared
 
+CFLAGS+=	-I${OPENSSLINC}
+LDFLAGS+=	-L${OPENSSLLIB}
+
 post-patch:
 # PREFIX safeness
 	@${CP} ${PATCHDIR}/Makefile.Defines.freebsd ${WRKSRC}


home | help

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