aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom
diff options
context:
space:
mode:
authorerich <erich@FreeBSD.org>1996-12-19 22:33:03 +0800
committererich <erich@FreeBSD.org>1996-12-19 22:33:03 +0800
commit4b201e0a092294e9ee9642b70f75910d443a8521 (patch)
tree2a0910b3d5541e0fe691028b93caf45241e635c7 /games/doom
parentda232607e551158ababfdeba0ca4220b437ffa8e (diff)
downloadfreebsd-ports-graphics-4b201e0a092294e9ee9642b70f75910d443a8521.tar.gz
freebsd-ports-graphics-4b201e0a092294e9ee9642b70f75910d443a8521.tar.zst
freebsd-ports-graphics-4b201e0a092294e9ee9642b70f75910d443a8521.zip
BUILD_DEPENDS on ld.so;
modload the linuxulator if we can't run the linux binary in the build process.
Diffstat (limited to 'games/doom')
-rw-r--r--games/doom/Makefile3
-rw-r--r--games/doom/files/patch-aa2
2 files changed, 3 insertions, 2 deletions
diff --git a/games/doom/Makefile b/games/doom/Makefile
index ca1d68da818..a643114eb78 100644
--- a/games/doom/Makefile
+++ b/games/doom/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/doom/files/patch-aa b/games/doom/files/patch-aa
index 981e4f40eb5..b6ad8045fad 100644
--- a/games/doom/files/patch-aa
+++ b/games/doom/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