aboutsummaryrefslogtreecommitdiffstats
path: root/games/alephone
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-29 15:52:36 +0800
committerpetef <petef@FreeBSD.org>2002-03-29 15:52:36 +0800
commit8cc0d025c27a5c675817088f187e5d991e3c8dd5 (patch)
treeeba5292743875ef90c1ffc17d8f40ccf6fd80fe0 /games/alephone
parent28a00ee56c9f29e4fbafaf0086219acec9f5c8de (diff)
downloadfreebsd-ports-gnome-8cc0d025c27a5c675817088f187e5d991e3c8dd5.tar.gz
freebsd-ports-gnome-8cc0d025c27a5c675817088f187e5d991e3c8dd5.tar.zst
freebsd-ports-gnome-8cc0d025c27a5c675817088f187e5d991e3c8dd5.zip
Add a missing depend on graphics/sdl_image and add a regexp to allow this
to compile. PR: 36438 Submitted by: Josh Elsasser <jre@vineyard.net>
Diffstat (limited to 'games/alephone')
-rw-r--r--games/alephone/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index f69eb118e886..d10717c16db8 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -14,7 +14,8 @@ DISTNAME= AlephOne-${PORTVERSION}
MAINTAINER= malyn@strangeGizmo.com
-LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12:install
+LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12:install \
+ SDL_image.10:${PORTSDIR}/graphics/sdl_image:install
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
@@ -22,6 +23,11 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+post-patch:
+ @${PERL} -pi -e 's,^#include \"network_modem.h\".*,,' \
+ ${WRKSRC}/Source_Files/Network/network.cpp \
+ ${WRKSRC}/Source_Files/Network/network_stream.cpp \
+
post-install:
.if !defined(NOPORTDOCS)
@${CAT} ${PKGMESSAGE}