summaryrefslogtreecommitdiff
path: root/lang/python25
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-03-16 21:11:51 +0000
committertnn <tnn@pkgsrc.org>2009-03-16 21:11:51 +0000
commitb1eb8cc50c8128ae4c29aa1aa8774c5165640d3a (patch)
tree9253b6452e195dd57b328d091a538da9a6d7cab2 /lang/python25
parente91a7037a5677888411972229dbed57ab6c11ee8 (diff)
downloadpkgsrc-b1eb8cc50c8128ae4c29aa1aa8774c5165640d3a.tar.gz
FreeBSD on amd64 builds ossaudiodev.so as well.
Noted by Jens Rehsack.
Diffstat (limited to 'lang/python25')
-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