diff options
author | joerg <joerg@pkgsrc.org> | 2006-08-26 15:29:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-08-26 15:29:05 +0000 |
commit | b6494c15d4e9ea15ad8adaf3764efbf553974da8 (patch) | |
tree | bd31b18cc1246a6911d255b3873fc458495347d1 /lang/python24 | |
parent | 529a590738e55bd19503ad8665b7f8f8a92a1346 (diff) | |
download | pkgsrc-b6494c15d4e9ea15ad8adaf3764efbf553974da8.tar.gz |
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 (limited to 'lang/python24')
-rw-r--r-- | lang/python24/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile index 59da4a4bdf6..f36a3527b5c 100644 --- a/lang/python24/Makefile +++ b/lang/python24/Makefile @@ -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 @@ PLIST_SUBST+= EXTRA_SO="@comment " # 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= |