Skip to content

Commit

Permalink
news/golded+: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 6, 2023
1 parent a48a24b commit 48e3e3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions news/golded+/Makefile
Expand Up @@ -27,6 +27,12 @@ OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_SUB_LIST= NOTEWORK="Please read the ${DOCSDIR}/notework.txt before using ${PORTNAME}"
DOCS_SUB_LIST_OFF= NOTEWORK=""

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Dregister=
.endif

post-patch:
@${SED}\
-e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "",'\
Expand Down

0 comments on commit 48e3e3b

Please sign in to comment.