summaryrefslogtreecommitdiff
path: root/games/linuxdoom
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-12-19 14:33:03 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-12-19 14:33:03 +0000
commitbb57e7f8635e0530a339f1eb2cd5bc76b4a0c0d6 (patch)
tree4e7d43fb5e78754cbbc92cfbf3d174326f215cf8 /games/linuxdoom
parentActivate su2. (diff)
BUILD_DEPENDS on ld.so;
modload the linuxulator if we can't run the linux binary in the build process.
Notes
Notes: svn path=/head/; revision=5039
Diffstat (limited to 'games/linuxdoom')
-rw-r--r--games/linuxdoom/Makefile3
-rw-r--r--games/linuxdoom/files/patch-aa2
2 files changed, 3 insertions, 2 deletions
diff --git a/games/linuxdoom/Makefile b/games/linuxdoom/Makefile
index ca1d68da818d..a643114eb78a 100644
--- a/games/linuxdoom/Makefile
+++ b/games/linuxdoom/Makefile
@@ -3,7 +3,7 @@
# Date created: Mon Dec 9 09:42:37 CST 1996
# Whom: erich@rrnet.com
#
-# $Id: Makefile,v 1.1.1.1 1996/12/11 20:54:57 erich Exp $
+# $Id: Makefile,v 1.2 1996/12/12 05:22:21 asami Exp $
#
DISTNAME= doom-1.8
@@ -14,6 +14,7 @@ DISTFILES= linux-doom-1.8.tar.gz musserver.tgz smooth-joystick4doom.tgz
MANINAINER= erich@FreeBSD.org
+BUILD_DEPENDS= /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_lib
RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
NO_WRKSUBDIR= yes
diff --git a/games/linuxdoom/files/patch-aa b/games/linuxdoom/files/patch-aa
index 981e4f40eb5b..b6ad8045fada 100644
--- a/games/linuxdoom/files/patch-aa
+++ b/games/linuxdoom/files/patch-aa
@@ -700,7 +700,7 @@ diff -ruN ../virgin/musserver/Makefile ./musserver/Makefile
+
+doom-patch:
+ zcat doompat.tgz |(cd ../doom-1.8; pax -rv)
-+ @(cd ../doom-1.8; env PATH=$${PATH}:. sh muspat)
++ @cd ../doom-1.8; ./pat @mus11.pat@xdoom || (/usr/bin/linux; ./pat @mus11.pat@xdoom)
+ touch doom-patch
Binary files ../virgin/musserver/musserver and ./musserver/musserver differ
diff -ruN ../virgin/musserver/musserver.c ./musserver/musserver.c