Date: Wed, 27 Jul 2016 16:55:39 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419187 - head/games/xonotic Message-ID: <201607271655.u6RGtdIq007588@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jul 27 16:55:39 2016 New Revision: 419187 URL: https://svnweb.freebsd.org/changeset/ports/419187 Log: - Use clang where possible - Add missing xorg dependency PR: 211258 Submitted by: jbeich@FreeBSD.org Modified: head/games/xonotic/Makefile Modified: head/games/xonotic/Makefile ============================================================================== --- head/games/xonotic/Makefile Wed Jul 27 16:48:54 2016 (r419186) +++ head/games/xonotic/Makefile Wed Jul 27 16:55:39 2016 (r419187) @@ -13,7 +13,7 @@ COMMENT= Fast-paced, chaotic, and intens LIB_DEPENDS= libcurl.so:ftp/curl \ libpng.so:graphics/png -USES= jpeg shebangfix zip:infozip +USES= compiler:features jpeg shebangfix zip:infozip SHEBANG_FILES= server/rcon.pl server/rcon2irc/rcon2irc.pl WRKSRC= ${WRKDIR}/Xonotic BUILD_WRKSRC= ${WRKSRC}/source/darkplaces @@ -25,7 +25,6 @@ MAKE_ARGS= DP_FS_BASEDIR="${DATADIR}" \ STRIP="${STRIP_CMD}" MAKE_JOBS_UNSAFE=yes ALL_TARGET= # empty -USE_GCC= yes PORTDATA= * @@ -39,7 +38,7 @@ CLIENT_LIB_DEPENDS= libmodplug.so:audio/ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg -CLIENT_USE= SDL=sdl +CLIENT_USE= SDL=sdl XORG=x11 CLIENT_ALL_TARGET= sdl-release CLIENT_PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.ico CLIENT_DESKTOP_ENTRIES= "Xonotic" \ @@ -56,6 +55,13 @@ DEDICATED_PLIST_FILES= bin/${PORTNAME}-d ENCRYPTION_DESC= Build encryption (required for stats submission) ENCRYPTION_LIB_DEPENDS= libd0_rijndael.so:security/d0_blind_id +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} == 42 +# internal compiler error with base gcc +USE_GCC= yes +.endif + post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' \ ${BUILD_WRKSRC}/${MAKEFILE} ${BUILD_WRKSRC}/makefile.inc @@ -81,4 +87,4 @@ do-install-DEDICATED-on: do-install-ENCRYPTION-on: ${INSTALL_DATA} ${WRKSRC}/key_0.d0pk ${STAGEDIR}${DATADIR}/ -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607271655.u6RGtdIq007588>