summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
commit3e11bd9e2a2b1cbd4283c87c93e3cc75e3f2dacb (patch)
treeddfef911600b923ca0abdbed4461a288b9249837 /usr.bin/file
parent30fca3b0cc92ae380073c169d34b4cc3f27321e9 (diff)
downloadsrc-test2-3e11bd9e2a2b1cbd4283c87c93e3cc75e3f2dacb.tar.gz
src-test2-3e11bd9e2a2b1cbd4283c87c93e3cc75e3f2dacb.zip
Notes
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile
index 405436568594..70c211bd76db 100644
--- a/usr.bin/file/Makefile
+++ b/usr.bin/file/Makefile
@@ -31,8 +31,7 @@ MAGICPATH?= /usr/share/misc
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
CFLAGS+= -I${.CURDIR}/../../lib/libmagic
-DPADD= ${LIBMAGIC} ${LIBZ}
-LDADD= -lmagic -lz
+LIBADD= magic
FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3; exit }' \
${.CURDIR}/../../lib/libmagic/config.h