Subject: buildlink3 in libao
To: None <tech-pkg@netbsd.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: tech-pkg
Date: 11/05/2005 00:37:30
Hi, all.
I found the libao plugin default installation is oss on NetBSD.
Did this patch make it judge the os type more properly?
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libao/buildlink3.mk,v
retrieving revision 1.7
diff -b -u -r1.7 buildlink3.mk
--- buildlink3.mk       8 Oct 2005 12:30:38 -0000       1.7
+++ buildlink3.mk       3 Nov 2005 16:19:02 -0000
@@ -17,10 +17,10 @@
 
 .  if !defined(_LIBAO_BUILDING_PLUGIN)
 .    include "../../mk/bsd.prefs.mk"
-.    if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" && ${OPSYS} != "SunOS"
-_LIBAO_DEFAULT_PLUGIN=         oss
-.    elif ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
+.    if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
 _LIBAO_DEFAULT_PLUGIN=         sun
+.    elif ${OPSYS} != "Darwin" && ${OPSYS} != "Interix"
+_LIBAO_DEFAULT_PLUGIN=         oss
 .    else
 _LIBAO_DEFAULT_PLUGIN=
 .    endif