svn commit: r475572 - head/games/lugaru
Tobias Kortkamp
tobik at FreeBSD.org
Sat Jul 28 13:37:21 UTC 2018
Author: tobik
Date: Sat Jul 28 13:37:20 2018
New Revision: 475572
URL: https://svnweb.freebsd.org/changeset/ports/475572
Log:
games/lugaru builds fine with Clang
- Add missing libGL dependency
- Fix bad absolute symlink
- Add LLD_UNSAFE because of the audio/openal-soft dependency [1]
PR: 226980 [1]
Modified:
head/games/lugaru/Makefile
Modified: head/games/lugaru/Makefile
==============================================================================
--- head/games/lugaru/Makefile Sat Jul 28 13:18:01 2018 (r475571)
+++ head/games/lugaru/Makefile Sat Jul 28 13:37:20 2018 (r475572)
@@ -3,7 +3,7 @@
PORTNAME= lugaru
PORTVERSION= 269
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= games
MASTER_SITES= https://bitbucket.org/oss${PORTNAME}/${PORTNAME}/downloads/
DISTNAME= ${PORTNAME}-rev${DISTVERSION}-src
@@ -19,10 +19,10 @@ LIB_DEPENDS= libpng.so:graphics/png \
libogg.so:audio/libogg
USES= cmake jpeg openal:soft pkgconfig tar:bzip2
-USE_GL= glu
+USE_GL= gl glu
USE_SDL= sdl
USE_XORG= sm
-USE_GCC= yes
+LLD_UNSAFE= yes
PORTDOCS= README
OPTIONS_DEFINE= DOCS
@@ -39,10 +39,11 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${DATADIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- ${LN} -sf ${DATADIR}/Data/Textures/Lugaru.png \
+ ${RLN} ${STAGEDIR}${DATADIR}/Data/Textures/Lugaru.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list