summaryrefslogtreecommitdiff
path: root/audio/cdd
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-07-24 09:13:12 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-07-24 09:13:12 +0000
commit2d4a002178d970de4c7abb24b4cb1c839973d9da (patch)
tree6a6d15aab48120d5e16fb5a63c6c12f64392411f /audio/cdd
parent6da110286c64a5a90b2dd2e993900b4db23c2cff (diff)
downloadpkgsrc-2d4a002178d970de4c7abb24b4cb1c839973d9da.tar.gz
Use the package libscsi instead of its own copy to make it work on alpha.
Closes pr 5813 by Tim Rightnour.
Diffstat (limited to 'audio/cdd')
-rw-r--r--audio/cdd/Makefile4
-rw-r--r--audio/cdd/patches/patch-aa20
2 files changed, 13 insertions, 11 deletions
diff --git a/audio/cdd/Makefile b/audio/cdd/Makefile
index b74ee48f14d..89564bb2c10 100644
--- a/audio/cdd/Makefile
+++ b/audio/cdd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/07/17 07:58:38 hubertf Exp $
+# $NetBSD: Makefile,v 1.3 1998/07/24 09:13:12 frueauf Exp $
DISTNAME= cdd-1.0myc2
PKGNAME= cdd-1.0myc2
@@ -8,6 +8,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= thorpej@netbsd.org
+DEPENDS+= libscsi-1.6:../../devel/libscsi
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cdd ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/stripzeros ${PREFIX}/bin
diff --git a/audio/cdd/patches/patch-aa b/audio/cdd/patches/patch-aa
index 9a287975f49..b58b49e4de4 100644
--- a/audio/cdd/patches/patch-aa
+++ b/audio/cdd/patches/patch-aa
@@ -1,19 +1,19 @@
---- Makefile.orig Thu Jul 16 14:23:29 1998
-+++ Makefile Thu Jul 16 14:25:55 1998
-@@ -14,9 +14,15 @@
+--- Makefile.orig Sun Mar 29 00:54:57 1998
++++ Makefile Wed Jul 22 17:17:23 1998
+@@ -1,4 +1,4 @@
+ CC = cc
+-CFLAGS = -g -O3 -Wall -DNETWORK_DB -Ilibscsi -Ist
+-LDFLAGS = -Llibscsi -lscsi -Lst -lst
++CFLAGS = -g -O3 -Wall -DNETWORK_DB -I${PREFIX}/include -Ist
++LDFLAGS = -L${PREFIX}/lib -lscsi -Lst -lst
- STRIPZEROS_OBJECTS = stripzeros.o
+@@ -16,5 +16,8 @@
-all: cdd pcmplay stripzeros
-+all: scsilib stlib cdd pcmplay stripzeros
++all: stlib cdd pcmplay stripzeros
$(CDD_OBJECTS): cdd.h
+
-+scsilib:
-+ cd libscsi; make
-+
+stlib:
+ cd st; make
- pcmplay: $(PCMPLAY_OBJECTS)
- $(CC) $(CFLAGS) -o $@ $(PCMPLAY_OBJECTS) $(LDFLAGS) -lossaudio