mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Fix build with clang 6
- Switch to options helpers
This commit is contained in:
parent
2b46c90f8f
commit
9dd86b47e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473055
@ -22,6 +22,8 @@ USES= gmake localbase:ldflags
|
||||
USE_SDL= sdl image mixer
|
||||
USE_GL= gl
|
||||
|
||||
CXXFLAGS+= -Wno-static-float-init -Wno-c++11-narrowing
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
@ -38,8 +40,8 @@ OPTIONS_DEFINE= DOCS
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user