summaryrefslogtreecommitdiffstats
path: root/lib/libmagic
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-10-18 22:18:23 +0000
committerru <ru@FreeBSD.org>2004-10-18 22:18:23 +0000
commitd2f67f65f7a477ab4e37f6a25e978bdd763f830f (patch)
treeb2600e7c20dbf007e2981d96fc571d95b8702e37 /lib/libmagic
parentdafa1caf810829ca3d6fb150d0dae93477b45a80 (diff)
downloadFreeBSD-src-d2f67f65f7a477ab4e37f6a25e978bdd763f830f.zip
FreeBSD-src-d2f67f65f7a477ab4e37f6a25e978bdd763f830f.tar.gz
uniq(1) is not an install tool, and using it was causing
"uniq: not found" during the installworld. Spotted by: Roman Neuhauser
Diffstat (limited to 'lib/libmagic')
-rw-r--r--lib/libmagic/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index 632ff43..87cf3be 100644
--- a/lib/libmagic/Makefile
+++ b/lib/libmagic/Makefile
@@ -45,8 +45,8 @@ mkmagic: apprentice.c funcs.c magic.c print.c
${CC} -DHAVE_CONFIG_H -DCOMPILE_ONLY \
-I${.CURDIR} -I${CONTRDIR} -o ${.TARGET} ${.ALLSRC}
-FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3 }' \
- ${.CURDIR}/config.h | uniq
+FILEVER!= awk '$$1 == "\#define" && $$2 == "VERSION" { print $$3; exit }' \
+ ${.CURDIR}/config.h
CLEANFILES+= ${MAN}
.for mp in ${MAN}
${mp}: ${mp:C/[0-9]/man/}
OpenPOWER on IntegriCloud