From nobody Fri Feb 09 17:22:26 2024 X-Original-To: dev-commits-src-main@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 4TWgdt2ZjXz5B2FC; Fri, 9 Feb 2024 17:22:26 +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 4TWgdt23THz4Vrm; Fri, 9 Feb 2024 17:22:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707499346; 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=VSylMtdtOVkZVQWXpBbYUk56Tjetym3SONgqDK6sEAM=; b=Bb6BNjna71KYF6QaIlbuQ8wkGMDPB5LQCw5d7crrfzzE7Zpd+ZXrzlE7qkRYDS/tRXW8jU zImMt909+kYOZRgWq48RRhYU7KfcY/uw6udZZQfFodco5lYNtrhWb1p7y24DrX9ZmctHwY pivCOsaenh5tMV1/LiIxhKMYozVsHpn0YbuI9L4RbkjZW3Xhcl33clqR5QS61F6JyV9hUa Dh26BLC2NORn5aer0Qw6/OHpKX9sPjF0liWahioGMX2MZM3yLf486pl9vfn2I7mcIzFL2f 1Lq3ewriIksHTP3ig5tU1WoFBvPOBKB4J5eYKgg+ZY0Js6TWVs5avMRyH5yQfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707499346; 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=VSylMtdtOVkZVQWXpBbYUk56Tjetym3SONgqDK6sEAM=; b=Aa1ZeYl8RXTQaHhRy1fN81gMUHPOEDxfmbGmS8MLb+2fsLh2BE5LW4HkbPli246yIn3iNg ZP5hZw5n0vkHHHyeHGSVZ+82W03LF6G/2hshCC+O0jFKQrLdmpPG1lZzAcLVfXeIxN4L+S PCUzEvLQ2T88ubpL1GgoPMauQZsV4iPs5Ha1hOJL7xXwANOY3E3hi6tVd+zSo5KvTQe0oz aHer3OjdmeV1MFOmtTDonHEo+5Yt5tudpdl24pmoz9JHfK3f9vUIooGBHuG2hLHdDv16hn RrWZyE9WZcQVsap1SGLks/Y62qJNjhVI/hlT4Mvg/mdfem21vOGJLPnJFDigzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707499346; a=rsa-sha256; cv=none; b=Hm6705ikyTFTHurR4+rEY3rfTReUzLyxWmY7LBRuISTt48RzPB8DtkAsIOS2ew3znAcDps 74I8zBxy3EVZ50XNeuuuGFLQiTLUR6vaf+pIHpB4XPetOphx34WpO3IzEap8b2TNJWUiHD 04QHiTGOtaOgKUAdGsgkDTuYXfUF2NRfi30S6hOgVRqE0Fy54eBrh5WZrer7wAGLR1bv7V XDkCbLijWqFN0B7UmpyZf+gD6GleV8RNiuxNGjWb9cod/hWpFtSVnyLNwMbgHqx9F9iC72 cu2p4V6+k4+B1iZEEyRlO5CLmHtlShyb2M3O7MXRo4EhYYNYmkh5IJOcps3s7g== 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 4TWgdt16Y4zhKt; Fri, 9 Feb 2024 17:22:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 419HMQlZ019902; Fri, 9 Feb 2024 17:22:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 419HMQKE019899; Fri, 9 Feb 2024 17:22:26 GMT (envelope-from git) Date: Fri, 9 Feb 2024 17:22:26 GMT Message-Id: <202402091722.419HMQKE019899@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 1995ea1ea265 - main - libsys: add guards to MD manpages List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1995ea1ea2654d5c32ef17ddf651380ecc23c635 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=1995ea1ea2654d5c32ef17ddf651380ecc23c635 commit 1995ea1ea2654d5c32ef17ddf651380ecc23c635 Author: Brooks Davis AuthorDate: 2024-02-09 17:21:15 +0000 Commit: Brooks Davis CommitDate: 2024-02-09 17:22:13 +0000 libsys: add guards to MD manpages This avoids duplicate installations which fail packaging tests. Reported by: emaste --- lib/libsys/i386/Makefile.sys | 2 ++ lib/libsys/x86/Makefile.sys | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/libsys/i386/Makefile.sys b/lib/libsys/i386/Makefile.sys index f42c5f7ec0ef..2957dc548cf8 100644 --- a/lib/libsys/i386/Makefile.sys +++ b/lib/libsys/i386/Makefile.sys @@ -5,9 +5,11 @@ SRCS+= i386_get_fsbase.c i386_get_gsbase.c i386_get_ioperm.c i386_get_ldt.c \ MDASM= vfork.S cerror.S getcontext.S syscall.S +.if ${LIB} == "sys" MAN+= i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2 MAN+= i386_set_watch.3 MLINKS+=i386_get_ioperm.2 i386_set_ioperm.2 MLINKS+=i386_get_ldt.2 i386_set_ldt.2 MLINKS+=i386_set_watch.3 i386_clr_watch.3 +.endif # ${LIB} == "sys" diff --git a/lib/libsys/x86/Makefile.sys b/lib/libsys/x86/Makefile.sys index d5e4cd75e78b..483d1784bdc9 100644 --- a/lib/libsys/x86/Makefile.sys +++ b/lib/libsys/x86/Makefile.sys @@ -5,8 +5,10 @@ SRCS+= \ pkru.c \ sched_getcpu_x86.c +.if ${LIB} == "sys" MAN+= \ pkru.3 +.endif # ${LIB} == "sys" # Note: vdso support for hyperv only on amd64 .if ${MACHINE_CPUARCH} == "amd64" && ${MK_HYPERV} != "no"