summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
committerWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
commita35f04fba2ebb8f86d4cbdc710c89a094572b08e (patch)
tree6d7834512c1ccea38c53d829131105485c884751 /usr.bin/file
parente3f87f6c705552b9aaf2cc10ec687f330c0ebe6a (diff)
downloadsrc-test2-a35f04fba2ebb8f86d4cbdc710c89a094572b08e.tar.gz
src-test2-a35f04fba2ebb8f86d4cbdc710c89a094572b08e.zip
Notes
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index 70c211bd76db..f31c50ad86da 100644
--- a/usr.bin/file/Makefile
+++ b/usr.bin/file/Makefile
@@ -20,7 +20,7 @@
# ever read sources, credits must appear in the documentation.
# 4. This notice may not be removed or altered.
-SRCDIR= ${.CURDIR}/../../contrib/file
+SRCDIR= ${SRCTOP}/contrib/file
.PATH: ${SRCDIR}/src
.PATH: ${SRCDIR}/doc
@@ -29,12 +29,12 @@ PROG= file
MAGICPATH?= /usr/share/misc
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
-CFLAGS+= -I${.CURDIR}/../../lib/libmagic
+CFLAGS+= -I${SRCTOP}/lib/libmagic
LIBADD= magic
FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3; exit }' \
- ${.CURDIR}/../../lib/libmagic/config.h
+ ${SRCTOP}/lib/libmagic/config.h
CLEANFILES+= ${MAN}