diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-22 21:00:04 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-06-22 21:00:04 +0800 |
commit | cb00dbbdc439db4c8cb26c5d6efa2196ba4f193d (patch) | |
tree | edd787d08b47ab379b0ce3ab8fc5eb2df4d62145 /games | |
parent | 7663cfdb3e03a20dc9c344d4f9f03c94b2aa6d7d (diff) | |
download | freebsd-ports-gnome-cb00dbbdc439db4c8cb26c5d6efa2196ba4f193d.tar.gz freebsd-ports-gnome-cb00dbbdc439db4c8cb26c5d6efa2196ba4f193d.tar.zst freebsd-ports-gnome-cb00dbbdc439db4c8cb26c5d6efa2196ba4f193d.zip |
- Fix build with clang 6
- Clarify GL dependency
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r-- | games/blackshadeselite/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/games/blackshadeselite/Makefile b/games/blackshadeselite/Makefile index 499f12b32666..d40bd1ff9970 100644 --- a/games/blackshadeselite/Makefile +++ b/games/blackshadeselite/Makefile @@ -18,10 +18,12 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis USES= tar:bzip2 gmake openal:al,alut USE_SDL= sdl -USE_GL= yes +USE_GL= gl glu MAKE_ARGS= CC="${CC}" CXX="${CXX}" +CXXFLAGS+= -Wno-c++11-narrowing + WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/blackshades @@ -40,8 +42,10 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/objs/blackshades ${STAGEDIR}${PREFIX}/bin/ - cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor |