Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/acpica/bin/iasl Build this for NetBSD, not Linu...



details:   https://anonhg.NetBSD.org/src/rev/02bcf13af136
branches:  trunk
changeset: 762279:02bcf13af136
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Feb 18 17:34:22 2011 +0000

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

diffstat:

 external/bsd/acpica/bin/iasl/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ef2c2f9e261f -r 02bcf13af136 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}



Home | Main Index | Thread Index | Old Index