pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ccache devel/ccache: Build man page



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c60ae31a237
branches:  trunk
changeset: 389767:3c60ae31a237
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Dec 09 11:56:47 2022 +0000

description:
devel/ccache: Build man page

The man page was lost in the update, due to needing asciidoctor.
However, it built (and thus caused a PLIST error) on machines with
asciidoctor installed.  Depend on asciidoctor, rather than forcing it
off, since this package ought to have a man page.

Tested on NetBSD 9 amd64.

diffstat:

 devel/ccache/Makefile |  6 +++++-
 devel/ccache/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 25ef01ac40ee -r 3c60ae31a237 devel/ccache/Makefile
--- a/devel/ccache/Makefile     Fri Dec 09 11:23:40 2022 +0000
+++ b/devel/ccache/Makefile     Fri Dec 09 11:56:47 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2022/12/06 16:14:50 adam Exp $
+# $NetBSD: Makefile,v 1.66 2022/12/09 11:56:47 gdt Exp $
 
 DISTNAME=      ccache-4.7.4
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ccache/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -19,6 +20,9 @@
 
 GCC_REQD=      8 # std::filesystem
 
+.include "../../lang/ruby/rubyversion.mk"
+TOOL_DEPENDS+= ${RUBY_PKGPREFIX}-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor
+
 .include "../../archivers/zstd/buildlink3.mk"
 .include "../../databases/hiredis/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 25ef01ac40ee -r 3c60ae31a237 devel/ccache/PLIST
--- a/devel/ccache/PLIST        Fri Dec 09 11:23:40 2022 +0000
+++ b/devel/ccache/PLIST        Fri Dec 09 11:56:47 2022 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2022/12/05 08:29:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/12/09 11:56:47 gdt Exp $
 bin/ccache
+man/man1/ccache.1



Home | Main Index | Thread Index | Old Index