pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python24 Don't use the Python platform variable t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0e52ed1b60dc
branches: trunk
changeset: 517938:0e52ed1b60dc
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Aug 26 15:29:05 2006 +0000
description:
Don't use the Python platform variable to check for OSS support on
FreeBSD, but OPSYS directly. We ignore FreeBSD < 4 anyway, so simply the
handling for newer FreeBSD versions.
diffstat:
lang/python24/Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 9c13448a0d4e -r 0e52ed1b60dc lang/python24/Makefile
--- a/lang/python24/Makefile Sat Aug 26 15:25:26 2006 +0000
+++ b/lang/python24/Makefile Sat Aug 26 15:29:05 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/06/19 17:50:57 minskim Exp $
+# $NetBSD: Makefile,v 1.28 2006/08/26 15:29:05 joerg Exp $
#
DISTNAME= Python-2.4.3
@@ -78,8 +78,7 @@
# ossaudiodev is only available on x86 for the following platforms
.if (${MACHINE_ARCH} == "i386") && \
- (${PY_PLATNAME} == "linux2" || ${PY_PLATNAME} == "freebsd4" || \
- ${PY_PLATNAME} == "freebsd5")
+ (${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
PLIST_SUBST+= OSSAUDIODEV=
.elif (${MACHINE_ARCH} == "x86_64") && (${PY_PLATNAME} == "linux2")
PLIST_SUBST+= OSSAUDIODEV=
Home |
Main Index |
Thread Index |
Old Index