summaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-03 10:43:19 +0000
committerjlam <jlam>2002-10-03 10:43:19 +0000
commit26d3dc4dc22383b6f0f62d1738141a1c7bf82e97 (patch)
tree6af64183a610ab49c95f61d088ceec71de8ce46a /audio/oss
parentbd66d6be733642e2686a632d1655e27314bc7c41 (diff)
downloadpkgsrc-26d3dc4dc22383b6f0f62d1738141a1c7bf82e97.tar.gz
Attempt to support OSS under NetBSD 1.5 (untested).
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/Makefile18
-rw-r--r--audio/oss/buildlink2.mk4
-rw-r--r--audio/oss/distinfo4
3 files changed, 19 insertions, 7 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile
index 5798b263149..227fd7b477f 100644
--- a/audio/oss/Makefile
+++ b/audio/oss/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2002/10/02 21:06:53 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/10/03 10:43:19 jlam Exp $
-DISTNAME= oss397d-netbsd-v1.6
-PKGNAME= oss-3.97d
+PKGNAME= oss-${OSS_VERSION}
CATEGORIES= audio sysutils
MASTER_SITES= ftp://ftp.opensound.com/pub/oss/netbsd/
@@ -9,7 +8,18 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.opensound.com/oss.html
COMMENT= Open Sound System(TM) soundcard driver
-ONLY_FOR_PLATFORM= NetBSD-1.6-i386 NetBSD-1.6.*-i386
+ONLY_FOR_PLATFORM= NetBSD-1.[56]-i386 NetBSD-1.[56].*-i386
+OSVERSION_SPECIFIC= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.5*-i386)
+DISTNAME= oss397c-netbsd-v1.5
+OSS_VERSION= 3.97c
+.elif !empty(MACHINE_PLATFORM:MNetBSD-1.6*-i386)
+DISTNAME= oss397d-netbsd-v1.6
+OSS_VERSION= 3.97d
+.endif
RESTRICTED= "No re-distribution."
NO_SRC_ON_CDROM= ${RESTRICTED}
diff --git a/audio/oss/buildlink2.mk b/audio/oss/buildlink2.mk
index 1e9f0c570e2..570b5654dd9 100644
--- a/audio/oss/buildlink2.mk
+++ b/audio/oss/buildlink2.mk
@@ -1,10 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/10/03 09:17:08 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/10/03 10:43:19 jlam Exp $
.if !defined(OSS_BUILDLINK2_MK)
OSS_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= oss
-BUILDLINK_DEPENDS.oss?= oss>=3.97d
+BUILDLINK_DEPENDS.oss?= oss>=3.97c
BUILDLINK_PKGSRCDIR.oss?= ../../audio/oss
EVAL_PREFIX+= BUILDLINK_PREFIX.oss=oss
diff --git a/audio/oss/distinfo b/audio/oss/distinfo
index a36f329ff14..9f6db08b0ee 100644
--- a/audio/oss/distinfo
+++ b/audio/oss/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/10/02 20:33:30 jlam Exp $
+$NetBSD: distinfo,v 1.2 2002/10/03 10:43:19 jlam Exp $
+SHA1 (oss397c-netbsd-v1.5.tar.gz) = a6873a0aead8e896a9ff9ca6af20ed1abc4eca60
+Size (oss397c-netbsd-v1.5.tar.gz) = 1094890 bytes
SHA1 (oss397d-netbsd-v1.6.tar.gz) = 57292aae50465a498294348cf8b4b251173c1c32
Size (oss397d-netbsd-v1.6.tar.gz) = 1092800 bytes