diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-25 21:38:07 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-25 21:42:46 +0000 |
commit | 2f038fd050b7f3003049c0fdd4c6251523e4b25a (patch) | |
tree | 104c18109e503610672600dde9ecefcfb6d5c6e3 | |
parent | 19a56e6305c9865203d71001e8b425e7fb318173 (diff) |
devel/darts: Fix build with llvm16
- Pet portclippy
- Adopt port
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | devel/darts/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/devel/darts/Makefile b/devel/darts/Makefile index 47812788880d..12aaeee8536b 100644 --- a/devel/darts/Makefile +++ b/devel/darts/Makefile @@ -4,7 +4,7 @@ PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.chasen.org/~taku/software/darts/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= C++ template library that implements Double-Array WWW= http://www.chasen.org/~taku/software/darts/ @@ -14,16 +14,22 @@ LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD LICENSE_FILE_LGPL21+ = ${WRKSRC}/LGPL USES= autoreconf -GNU_CONFIGURE= yes - -OPTIONS_DEFINE= DOCS EXAMPLES -PORTEXAMPLES= darts.cpp mkdarts.cpp -PORTDOCS= AUTHORS ChangeLog README doc +GNU_CONFIGURE= yes PLIST_FILES= include/darts.h \ libexec/darts/darts \ libexec/darts/mkdarts +PORTDOCS= AUTHORS ChangeLog README doc +PORTEXAMPLES= darts.cpp mkdarts.cpp + +OPTIONS_DEFINE= DOCS EXAMPLES + +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} |