From b6494c15d4e9ea15ad8adaf3764efbf553974da8 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 26 Aug 2006 15:29:05 +0000 Subject: 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. --- lang/python24/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lang/python24') 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= -- cgit v1.2.3