git: 7c096f128e19 - main - www/srg: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Aug 2023 12:30:51 UTC
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}