summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-05-17 14:50:42 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-05-17 14:50:42 +0000
commitecff3b858a6269d46f6bd402e35f6e55a64d6296 (patch)
treea64c4070d920667edb340588b3c19a6b4dc01a03 /gnu/usr.bin
parent7536647dfe60c3d4260e0743d83ff82635ad4bc1 (diff)
stop using the moribund MLINKS bsd.man.mk feature;
no functional change intended; OK patrick@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/clang/lld/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/clang/lld/Makefile b/gnu/usr.bin/clang/lld/Makefile
index 9afeca71bfe..bed8f8863e2 100644
--- a/gnu/usr.bin/clang/lld/Makefile
+++ b/gnu/usr.bin/clang/lld/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2019/03/06 14:35:29 jsg Exp $
+# $OpenBSD: Makefile,v 1.17 2019/05/17 14:50:41 schwarze Exp $
.include <bsd.own.mk>
@@ -9,7 +9,9 @@ SRCS= lld.cpp
TARGET_ARCH?= ${MACHINE_ARCH}
.if ${LINKER_VERSION:L} == "lld"
LINKS= ${BINDIR}/ld.lld ${BINDIR}/ld
-MLINKS= ld.lld.1 ld.1
+
+maninstall:
+ cd ${DESTDIR}${MANDIR}1 && rm -f ld.1 && ln ld.lld.1 ld.1
.endif
CPPFLAGS+= ${CLANG_INCLUDES}