From 5f9b9b3433703bb4dcf7888c4d2ad73b444c9858 Mon Sep 17 00:00:00 2001 From: jruoho Date: Fri, 18 Feb 2011 17:34:22 +0000 Subject: [PATCH] Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI for pointing this out. --- external/bsd/acpica/bin/iasl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/bsd/acpica/bin/iasl/Makefile b/external/bsd/acpica/bin/iasl/Makefile index 8a4c5892cec5..b47846ec689a 100644 --- a/external/bsd/acpica/bin/iasl/Makefile +++ b/external/bsd/acpica/bin/iasl/Makefile @@ -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 @@ TOPDIR= ${NETBSDSRCDIR}/sys/external/bsd/acpica/dist/compiler .include 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}