mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
games/lander: fix build on 14
While here, convert REINPLACE_CMD to a patch and change MASTER_SITES to https
This commit is contained in:
parent
3506f5725b
commit
fea0e6e8f8
4 changed files with 35 additions and 6 deletions
|
@ -2,8 +2,8 @@ PORTNAME= lander
|
||||||
PORTVERSION= 0.6.6
|
PORTVERSION= 0.6.6
|
||||||
PORTREVISION= 21
|
PORTREVISION= 21
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
MASTER_SITES= http://www.nickg.me.uk/files/ \
|
MASTER_SITES= https://www.nickg.me.uk/files/ \
|
||||||
http://mirror.amdmi3.ru/distfiles/
|
https://mirror.amdmi3.ru/distfiles/
|
||||||
|
|
||||||
MAINTAINER= amdmi3@FreeBSD.org
|
MAINTAINER= amdmi3@FreeBSD.org
|
||||||
COMMENT= Lunar Lander clone
|
COMMENT= Lunar Lander clone
|
||||||
|
@ -37,9 +37,6 @@ DESKTOP_ENTRIES="Lunar Lander" \
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure
|
|
||||||
|
|
||||||
post-install-DOCS-on:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
||||||
|
|
20
games/lander/files/patch-configure
Normal file
20
games/lander/files/patch-configure
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- configure.orig 2014-02-02 18:26:47 UTC
|
||||||
|
+++ configure
|
||||||
|
@@ -5960,7 +5960,7 @@ fi
|
||||||
|
fi
|
||||||
|
if test "X$ltrpathdirs" != "X"; then
|
||||||
|
for found_dir in $ltrpathdirs; do
|
||||||
|
- LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
|
||||||
|
+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
@@ -6844,7 +6844,7 @@ fi
|
||||||
|
fi
|
||||||
|
if test "X$ltrpathdirs" != "X"; then
|
||||||
|
for found_dir in $ltrpathdirs; do
|
||||||
|
- LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
|
||||||
|
+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
12
games/lander/files/patch-src_Platform.hpp
Normal file
12
games/lander/files/patch-src_Platform.hpp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- src/Platform.hpp.orig 2014-02-02 18:23:11 UTC
|
||||||
|
+++ src/Platform.hpp
|
||||||
|
@@ -90,9 +90,6 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
-// Probably using GCC
|
||||||
|
-#include <tr1/memory>
|
||||||
|
-
|
||||||
|
#endif /* #ifdef WIN32 */
|
||||||
|
|
||||||
|
// Mac OS X specifics */
|
|
@ -4,4 +4,4 @@ Collect all the spinning keys and then land the ship on one of the
|
||||||
landing pads. The levels are randomly generated and become
|
landing pads. The levels are randomly generated and become
|
||||||
progressively harder.
|
progressively harder.
|
||||||
|
|
||||||
WWW: http://www.doof.me.uk/lunar-lander/
|
WWW: https://www.doof.me.uk/lunar-lander/
|
||||||
|
|
Loading…
Add table
Reference in a new issue