On recent FreeBSD, ossaudiodev.so is not created.

Fix "make package" on FreeBSD 9.0.
This commit is contained in:
ryoon 2012-03-31 02:12:34 +00:00
parent 637677a717
commit 3c9f4d32ed
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.61 2012/03/05 08:22:58 sbd Exp $
# $NetBSD: Makefile,v 1.62 2012/03/31 02:12:34 ryoon Exp $
.include "dist.mk"
@ -86,7 +86,7 @@ PLIST.extra-so= yes
# ossaudiodev is only available on x86 for the following platforms
PLIST_VARS+= oss
.if (${MACHINE_ARCH} == "i386") && \
(${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
${PY_PLATNAME} == "linux2"
PLIST.oss= yes
.elif (${MACHINE_ARCH} == "x86_64") && (${PY_PLATNAME} == "linux2")
PLIST.oss= yes

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.38 2012/03/05 08:23:09 sbd Exp $
# $NetBSD: Makefile,v 1.39 2012/03/31 02:12:51 ryoon Exp $
.include "dist.mk"
@ -102,7 +102,7 @@ PLIST.extra-so= yes
# ossaudiodev is only available on x86 for the following platforms
PLIST_VARS+= oss
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
(${PY_PLATNAME} == "linux2" || ${OPSYS} == "FreeBSD")
${PY_PLATNAME} == "linux2"
PLIST.oss= yes
.endif