summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/Makefile')
-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 4054365..70c211b 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
OpenPOWER on IntegriCloud