Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 15:50:49 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: 55e1b315effe - main - devel/ppl: Fix build with llvm16
Message-ID:  <202307181550.36IFon1Y074079@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=55e1b315effe01f7d1c59911327b1dececd05dad

commit 55e1b315effe01f7d1c59911327b1dececd05dad
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-18 15:04:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-18 15:50:38 +0000

    devel/ppl: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy while I am here
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/ppl/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/devel/ppl/Makefile b/devel/ppl/Makefile
index 2d1b48dc7937..7b4ca9392380 100644
--- a/devel/ppl/Makefile
+++ b/devel/ppl/Makefile
@@ -15,8 +15,11 @@ BUILD_DEPENDS=	gm4:devel/m4
 LIB_DEPENDS=	libglpk.so:math/glpk \
 		libgmp.so:math/gmp
 
-USES=		gmake perl5 tar:xz libtool
+USES=		gmake perl5 tar:xz libtool localbase:ldflags
+USE_CXXSTD=	c++14
+USE_LDCONFIG=	yes
 USE_PERL5=	build
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debugging \
 		--enable-optimization \
@@ -27,10 +30,6 @@ CONFIGURE_ARGS=	--disable-debugging \
 		--with-gmp-lib="${LOCALBASE}/lib" \
 		--enable-interfaces="${INTERFACES}"
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 PORTDOCS=	*
 



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