From nobody Tue May 03 18:58:44 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8BB561AC14D4; Tue, 3 May 2022 18:58:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kt8Pc2lVBz3rN4; Tue, 3 May 2022 18:58:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651604324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bDAykY/tCWDn5YvGctc4F1gdJNbcG5i9apF00GR058M=; b=ifX65d5TMYwqgTAiYSKrNOZH/Z334R5A6h99kH7N88krgnT2T7Mj9wz/251+LA+9TgSZQL 8rX67fjwl6ptxfj+5SuMeHIG+wY2kot57dTpm6iIQA77OBV75D67jBPj8Odlso6z4r4bQd Qcg4/2CGalP86HYDo0L1oc4aqYesGrgSSmaGLEi7kT1cIY3z3/nLqPludr6H6fQn9SrRTh NxHW3DP+cudAJaTxcYh6bjx/Z3x0nVZbnw2ie5DlyfYvytdl+8BVs6PJctrdaA3LtM7rQf slHucp6DK2mXc91bnSxkfL7tMiUE+OrdtuB46eA1h1+ckyoustu8xCdTZkviqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 38A3C236F3; Tue, 3 May 2022 18:58:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 243Iwisi071319; Tue, 3 May 2022 18:58:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 243Iwi3U071318; Tue, 3 May 2022 18:58:44 GMT (envelope-from git) Date: Tue, 3 May 2022 18:58:44 GMT Message-Id: <202205031858.243Iwi3U071318@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: 03e4309f9f73 - main - devel/llvm: Add manpage symlinks List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03e4309f9f739856dbf9036e3e9752062dc1a511 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651604324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bDAykY/tCWDn5YvGctc4F1gdJNbcG5i9apF00GR058M=; b=LDqEWgyc7JitJPQqm3y3Vxkax9CDsMgLFsCoUwPjxpoSehGCJDrppPF09KnU4ZmwVZ/WAW 3I53I29UxbiCRJskD2xrD/lg1obmqCBYT777Gkbf7v9//BvZn2BnTPPZD2LeAvzmdJxRWB OBToIAFMtcg7XZSFI6US15OqtasiGN9jloN7O+YZ6cPWmJ1DQy6dv22NXoy6388tK6njCM 2mb5VYfK9uDbcVSYhj1n5fDRCsK/8GPaRQ9J6mgf0huYlyvigmcm32NthOaGojQpMhe4Jf agdL7PybD+iKpGJXeruaepaAJpcluLnHlg78fL7MerCYQ3cCCSyY1nlYAYcarQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651604324; a=rsa-sha256; cv=none; b=NovLPHHw/GJirHZiuR1gityhEKWKnwECCqdw91XVjR8MdXUISvfeXuTZltCRpMyDGUD6PN SKryj86Dkdv4/SR3NcO2/FksZkk8cj2TlI2ntUzJPs+SjsVWq4PFpyUbsbQYigycxEL1lW g69uU0UtPeDbHg55HFKRuDR+4duwkB0LfsiIospCK+2ygRcSaM6pz6U1XfPx78K82EzGds cgIGOc9D5sFFNbeILpet7LbovXnAzj7vFwiXjrtJSlGyJZBL3R6YTC7+wzmLZn842eeBv9 FK1EF5Tk7jZn+Ct2zk7pnGJjvAb/sPd6sS2HFr8DAWjQDGaobYaCdqjaTzO9rQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=03e4309f9f739856dbf9036e3e9752062dc1a511 commit 03e4309f9f739856dbf9036e3e9752062dc1a511 Author: Brooks Davis AuthorDate: 2022-05-03 18:58:34 +0000 Commit: Brooks Davis CommitDate: 2022-05-03 18:58:34 +0000 devel/llvm: Add manpage symlinks Include the target LLVM's Makefile.MAN1SRCS and use it to create symlinks corresponding to the command symlinks. Sponsored by: DARPA, AFRL --- devel/llvm/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index 1cf704252f68..4b0d95d22041 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -31,7 +31,8 @@ CONFLICTS_INSTALL= cling zapcc NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= ${COMMANDS:S|^|bin/|} +PLIST_FILES= ${COMMANDS:S|^|bin/|} \ + ${MAN1SRCS:S|^|man/man1/|:S|$|.gz|} .include @@ -56,27 +57,38 @@ OPTIONS_EXCLUDE= LLDB .endif .include "${.CURDIR}/../llvm${LLVM_SUFFIX}/Makefile.COMMANDS" +.include "${.CURDIR}/../llvm${LLVM_SUFFIX}/Makefile.MAN1SRCS" COMMANDS= ${LLVM_COMMANDS} +MAN1SRCS= ${LLVM_MAN1SRCS} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= ${CLANG_COMMANDS} +MAN1SRCS+= ${CLANG_MAN1SRCS} .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} +MAN1SRCS+= ${EXTRAS_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLIT} COMMANDS+= ${LIT_COMMANDS} +MAN1SRCS+= ${LIT_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= ${LLD_COMMANDS} +MAN1SRCS+= ${LLD_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= ${LLDB_COMMANDS} +MAN1SRCS+= ${LLDB_MAN1SRCS} .endif do-install: .for c in ${COMMANDS} - ${LN} -s ${c}${LLVM_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${c} + ${LN} -s ${c}${LLVM_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${c} +.endfor +.for _man in ${MAN1SRCS} + ${LN} -s ${_man:R}${LLVM_SUFFIX}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1/${_man} .endfor .include