summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortnn <tnn>2009-03-16 21:11:51 +0000
committertnn <tnn>2009-03-16 21:11:51 +0000
commit29611c51e0127ff9820a7e1700a960e85d797a79 (patch)
tree9253b6452e195dd57b328d091a538da9a6d7cab2 /lang
parent7abd6faaf9261f5fc5e0214baf4317b9a1cde410 (diff)
downloadpkgsrc-29611c51e0127ff9820a7e1700a960e85d797a79.tar.gz
FreeBSD on amd64 builds ossaudiodev.so as well.
Noted by Jens Rehsack.
Diffstat (limited to 'lang')
-rw-r--r--lang/python25/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index f5f14f93728..ae2dc5023fe 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/12/17 12:49:51 tron Exp $
+# $NetBSD: Makefile,v 1.12 2009/03/16 21:11:51 tnn Exp $
DISTNAME= Python-2.5.2
PKGNAME= python25-2.5.2
@@ -96,11 +96,9 @@ PLIST.extra-so= yes
# ossaudiodev is only available on x86 for the following platforms
PLIST_VARS+= oss
-.if (${MACHINE_ARCH} == "i386") && \
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
(${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
PLIST.oss= yes
-.elif (${MACHINE_ARCH} == "x86_64") && (${PY_PLATNAME} == "linux2")
-PLIST.oss= yes
.endif
# Make sure python modules can link correctly