summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-03-31 02:12:34 +0000
committerryoon <ryoon@pkgsrc.org>2012-03-31 02:12:34 +0000
commit0bc399395ff8238fe3d48c21287d40e73c6df2e0 (patch)
treee72828314e84bb01db6b533ffc077846bb1d1cc1
parent003f1756cae4e5146f601da98c17dcb798fc70d6 (diff)
downloadpkgsrc-0bc399395ff8238fe3d48c21287d40e73c6df2e0.tar.gz
On recent FreeBSD, ossaudiodev.so is not created.
Fix "make package" on FreeBSD 9.0.
-rw-r--r--lang/python24/Makefile4
-rw-r--r--lang/python25/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 0033b31bccd..36c9b1c33bb 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2012/03/05 08:22:58 sbd Exp $
+# $NetBSD: Makefile,v 1.62 2012/03/31 02:12:34 ryoon Exp $
.include "dist.mk"
@@ -86,7 +86,7 @@ PLIST.extra-so= yes
# ossaudiodev is only available on x86 for the following platforms
PLIST_VARS+= oss
.if (${MACHINE_ARCH} == "i386") && \
- (${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
+ ${PY_PLATNAME} == "linux2"
PLIST.oss= yes
.elif (${MACHINE_ARCH} == "x86_64") && (${PY_PLATNAME} == "linux2")
PLIST.oss= yes
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index e9a3ee3af0f..5955df55863 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2012/03/05 08:23:09 sbd Exp $
+# $NetBSD: Makefile,v 1.39 2012/03/31 02:12:51 ryoon Exp $
.include "dist.mk"
@@ -102,7 +102,7 @@ PLIST.extra-so= yes
# ossaudiodev is only available on x86 for the following platforms
PLIST_VARS+= oss
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
- (${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
+ ${PY_PLATNAME} == "linux2"
PLIST.oss= yes
.endif