aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/acpi/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/acpi/Makefile.inc')
-rw-r--r--usr.sbin/acpi/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/acpi/Makefile.inc b/usr.sbin/acpi/Makefile.inc
index 9692f0abbb4d..27e16d001380 100644
--- a/usr.sbin/acpi/Makefile.inc
+++ b/usr.sbin/acpi/Makefile.inc
@@ -1,13 +1,13 @@
# $Id: Makefile.inc,v 1.1 2000/07/14 18:16:22 iwasaki Exp $
# $FreeBSD$
-ACPICA_DIR= ${.CURDIR}/../../../sys/contrib/dev/acpica
-CFLAGS+= -I${.CURDIR}/../../../sys
+ACPICA_DIR= ${SRCTOP}/sys/contrib/dev/acpica
+CFLAGS+= -I${SRCTOP}/sys
PACKAGE= acpi
-.if exists(${.CURDIR}/../../Makefile.inc)
-.include "${.CURDIR}/../../Makefile.inc"
+.if exists(${.CURDIR:H:H}/Makefile.inc)
+.include "${.CURDIR:H:H}/Makefile.inc"
.endif
.PATH: ${ACPICA_DIR} \