Module Name:    src
Committed By:   jruoho
Date:           Fri Feb 18 17:34:22 UTC 2011

Modified Files:
        src/external/bsd/acpica/bin/iasl: Makefile

Log Message:
Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI
for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/acpica/bin/iasl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.2 src/external/bsd/acpica/bin/iasl/Makefile:1.3
--- src/external/bsd/acpica/bin/iasl/Makefile:1.2	Thu Feb 17 18:26:20 2011
+++ src/external/bsd/acpica/bin/iasl/Makefile	Fri Feb 18 17:34:22 2011
@@ -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}

Reply via email to