Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI trunk
authorjruoho <jruoho@NetBSD.org>
Fri, 18 Feb 2011 17:34:22 +0000
branchtrunk
changeset 198062 796a77c797da
parent 198061 33519fb09e48
child 198063 2be46690dd8d
Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI for pointing this out.
external/bsd/acpica/bin/iasl/Makefile
--- a/external/bsd/acpica/bin/iasl/Makefile	Fri Feb 18 17:31:14 2011 +0000
+++ b/external/bsd/acpica/bin/iasl/Makefile	Fri Feb 18 17:34:22 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/02/17 18:26:20 jruoho Exp $
+# $NetBSD: Makefile,v 1.3 2011/02/18 17:34:22 jruoho Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -11,7 +11,7 @@
 .include <bsd.own.mk>
 
 CPPFLAGS+=	-I${TOPDIR}/../include -I${TOPDIR} -I.
-CPPFLAGS+=	-D_LINUX -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
+CPPFLAGS+=	-D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
 CPPFLAGS+=	-D_USE_BERKELEY_YACC
 LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}