summaryrefslogtreecommitdiff
path: root/emulators/vice
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-02-26 22:13:34 +0000
committertron <tron@pkgsrc.org>2001-02-26 22:13:34 +0000
commitac2223fc0936b1bde524e0cd58d5569b4f5ccbad (patch)
tree92a462ccccc1c70a696acef5bd960aba6ab78649 /emulators/vice
parent181bf45d62a30ea88f610204dbcb4113cb045c05 (diff)
downloadpkgsrc-ac2223fc0936b1bde524e0cd58d5569b4f5ccbad.tar.gz
Fix build of "esound" driver.
Diffstat (limited to 'emulators/vice')
-rw-r--r--emulators/vice/Makefile4
-rw-r--r--emulators/vice/files/patch-sum4
-rw-r--r--emulators/vice/patches/patch-ac13
3 files changed, 17 insertions, 4 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index a478e562c4c..9efef39f6ed 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/02/25 19:35:52 kristerw Exp $
+# $NetBSD: Makefile,v 1.16 2001/02/26 22:13:34 tron Exp $
DISTNAME= vice-1.6
CATEGORIES= emulators
@@ -13,6 +13,8 @@ MAINTAINER= kristerw@netbsd.org
HOMEPAGE= http://www.cs.cmu.edu/~dsladic/vice/vice.html
COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20
+DEPENDS+= esound>=0.2.18:../../audio/esound
+
RESTRICTED= "ROM image copyright is questionable"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
diff --git a/emulators/vice/files/patch-sum b/emulators/vice/files/patch-sum
index 34fbbf3806e..0b68cf5e764 100644
--- a/emulators/vice/files/patch-sum
+++ b/emulators/vice/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.6 2001/02/25 19:35:52 kristerw Exp $
+$NetBSD: patch-sum,v 1.7 2001/02/26 22:13:35 tron Exp $
MD5 (patch-ab) = 8a71db36b9308be130328a0fd9986230
-MD5 (patch-ac) = 76ff8733f638cbef407353307626e0a3
+MD5 (patch-ac) = d44c5a7ac9660df9b8d32b67c97d9f30
MD5 (patch-ad) = 238e2f75e54ac47a68538be8f75bf366
diff --git a/emulators/vice/patches/patch-ac b/emulators/vice/patches/patch-ac
index b70e6f47111..56f87ebe231 100644
--- a/emulators/vice/patches/patch-ac
+++ b/emulators/vice/patches/patch-ac
@@ -1,5 +1,7 @@
+$NetBSD: patch-ac,v 1.8 2001/02/26 22:13:35 tron Exp $
+
--- configure.orig Mon Dec 11 23:28:18 2000
-+++ configure Sat Feb 24 19:57:37 2001
++++ configure Mon Feb 26 23:03:01 2001
@@ -4706,6 +4706,8 @@
SOUND_DRIVERS="$SOUND_DRIVERS soundsdl.o"
fi
@@ -17,6 +19,15 @@
for ac_hdr in dmedia/audio.h
do
+@@ -5326,7 +5329,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lesd $LIBS"
++ LIBS="-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lesd $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
@@ -5826,7 +5829,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else