Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 12:30:51 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: 7c096f128e19 - main - www/srg: Fix build with llvm16
Message-ID:  <202308061230.376CUpTn034997@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=7c096f128e19548da135834b1327b80b831b32a4

commit 7c096f128e19548da135834b1327b80b831b32a4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 12:13:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 12:30:37 +0000

    www/srg: Fix build with llvm16
    
    - Utilize OPTIONSNG where possible
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/srg/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/srg/Makefile b/www/srg/Makefile
index 97d2c5b61f56..2db8a77acdb3 100644
--- a/www/srg/Makefile
+++ b/www/srg/Makefile
@@ -12,18 +12,18 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		tar:bzip2
+USE_CXXSTD=	c++14
+
 GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=	EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/CPPFLAGS/s|-I/usr/local/include|| ; \
 		 /LDFLAGS/s|-L/usr/local/lib||' ${WRKSRC}/configure
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for ex in srg.daily srg.monthly srg.weekly
 	${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${STAGEDIR}${EXAMPLESDIR}



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