Skip to content

Commit

Permalink
www/srg: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize OPTIONSNG where possible
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 6, 2023
1 parent 005c37a commit 7c096f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/srg/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 7c096f1

Please sign in to comment.