Index: usr.bin/Makefile =================================================================== --- usr.bin/Makefile +++ usr.bin/Makefile @@ -145,7 +145,6 @@ split \ stat \ stdbuf \ - strings \ su \ systat \ tail \ @@ -263,6 +262,7 @@ SUBDIR.${MK_TOOLCHAIN}+= objcopy SUBDIR.${MK_TOOLCHAIN}+= readelf SUBDIR.${MK_TOOLCHAIN}+= size +SUBDIR+= strings .endif SUBDIR.${MK_TOOLCHAIN}+= c89 SUBDIR.${MK_TOOLCHAIN}+= c99 Index: usr.bin/clang/llvm-strings/Makefile =================================================================== --- usr.bin/clang/llvm-strings/Makefile +++ usr.bin/clang/llvm-strings/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include + PROG_CXX= llvm-strings SRCDIR= llvm/tools/llvm-strings @@ -21,4 +23,9 @@ DPSRCS+= ${TGHDRS} CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} +.if ${MK_LLVM_BINUTILS} != "no" +LINKS= ${BINDIR}/llvm-strings ${BINDIR}/strings +MLINKS= llvm-strings.1 strings.1 +.endif + .include "../llvm.prog.mk"