aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-12-04 14:41:46 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-12-04 14:41:46 +0000
commit8f3fca5cfc73603ca1c17a63cdd8db54edcde44e (patch)
tree72c37d46eb63bac39a579aeb09addcd068fda5da /games
parent525398f05e4958d3deb243ac74d9f9321c21a9fd (diff)
downloadports-8f3fca5cfc73603ca1c17a63cdd8db54edcde44e.tar.gz
ports-8f3fca5cfc73603ca1c17a63cdd8db54edcde44e.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/alephone/Makefile14
-rw-r--r--games/alephone/files/patch-ac32
2 files changed, 37 insertions, 9 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 5ab09b48ea15..100c2188fe92 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -7,6 +7,7 @@
PORTNAME= alephone
PORTVERSION= 0.12.0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= marathon
@@ -15,8 +16,9 @@ DISTNAME= AlephOne-${PORTVERSION}
MAINTAINER= malyn@strangeGizmo.com
COMMENT= The open source version of Bungie's Marathon game
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12:install \
- SDL_image.10:${PORTSDIR}/graphics/sdl_image:install
+LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
+ SDL_image.10:${PORTSDIR}/graphics/sdl_image \
+ SDL_net.0:${PORTSDIR}/net/sdl_net
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
@@ -25,12 +27,6 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
post-patch:
@${PERL} -pi -e 's,^#include \"network_modem.h\".*,,' \
${WRKSRC}/Source_Files/Network/network.cpp \
@@ -41,4 +37,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/alephone/files/patch-ac b/games/alephone/files/patch-ac
new file mode 100644
index 000000000000..e1fee5ad452a
--- /dev/null
+++ b/games/alephone/files/patch-ac
@@ -0,0 +1,32 @@
+--- Source_Files/Misc/FileHandler.h.orig Fri Aug 8 15:00:21 2003
++++ Source_Files/Misc/FileHandler.h Fri Aug 8 15:01:07 2003
+@@ -46,6 +46,7 @@
+ #endif
+ #endif
+
++using namespace std;
+
+ // Symbolic constant for a closed file's reference number (refnum) (MacOS only)
+ const short RefNum_Closed = -1;
+--- Source_Files/Misc/resource_manager.h.orig Fri Aug 8 15:00:22 2003
++++ Source_Files/Misc/resource_manager.h Fri Aug 8 15:04:02 2003
+@@ -10,6 +10,8 @@
+ #include <stdio.h>
+ #include <vector>
+
++using namespace std;
++
+ class FileSpecifier;
+ class LoadedResource;
+
+--- Source_Files/Misc/sdl_dialogs.h.orig Fri Aug 8 15:00:22 2003
++++ Source_Files/Misc/sdl_dialogs.h Fri Aug 8 15:01:43 2003
+@@ -9,6 +9,8 @@
+
+ #include <vector>
+
++using namespace std;
++
+ class widget;
+ struct SDL_Surface;
+ class sdl_font_info;