Module Name:    src
Committed By:   maya
Date:           Wed Jun 27 16:13:43 UTC 2018

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

Log Message:
Remove unused code. No functional change intended.

- We don't need to define __NetBSD__, C compilers do this for us.
- Defines which don't appear anywhere in src
- Don't need libpthread/librt


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/external/bsd/acpica/bin/iasl/Makefile:1.20
--- src/external/bsd/acpica/bin/iasl/Makefile:1.19	Thu May 31 09:08:25 2018
+++ src/external/bsd/acpica/bin/iasl/Makefile	Wed Jun 27 16:13:43 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2018/05/31 09:08:25 mrg Exp $
+# $NetBSD: Makefile,v 1.20 2018/06/27 16:13:43 maya Exp $
 
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 PROG=	iasl
@@ -11,13 +11,12 @@ TOPDIR=	${NETBSDSRCDIR}/sys/external/bsd
 .include <bsd.own.mk>
 
 CPPFLAGS+=	-I${TOPDIR}/../include -I${TOPDIR} -I.
-CPPFLAGS+=	-D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
-CPPFLAGS+=	-D_USE_BERKELEY_YACC
+CPPFLAGS+=	-DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
 .if ${MKREPRO:Uno} == "yes"
 CPPFLAGS+=	-DACPI_REPRO
 .endif
-LDADD+=		-ll -ly -lrt -lpthread
-DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
+LDADD+=		-ll -ly
+DPADD+=		${LIBL} ${LIBY}
 
 DPSRCS= aslcompilerparse.y aslcompilerlex.c aslcompilerparse.c \
 	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c

Reply via email to