pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-tracker-miners Add missing textproc/enc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6148f3c9760
branches:  trunk
changeset: 441822:f6148f3c9760
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Nov 11 15:47:50 2020 +0000

description:
Add missing textproc/enca dependency and use "shasum -a 256" instead of
"sha256" on NetBSD for compatibility with 9.x

diffstat:

 sysutils/gnome-tracker-miners/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 05478e5aef6a -r f6148f3c9760 sysutils/gnome-tracker-miners/Makefile
--- a/sysutils/gnome-tracker-miners/Makefile    Wed Nov 11 15:30:46 2020 +0000
+++ b/sysutils/gnome-tracker-miners/Makefile    Wed Nov 11 15:47:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/11/05 09:09:08 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2020/11/11 15:47:50 jmcneill Exp $
 
 DISTNAME=      tracker-miners-3.0.1
 PKGNAME=       gnome-${DISTNAME}
@@ -25,12 +25,15 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
-SUBST_CLASSES+=                sha
+SUBST_CLASSES+=                sha shabuild
 SUBST_STAGE.sha=       pre-configure
 SUBST_MESSAGE.sha=     Fixing the name of the SHA256 tool.
-SUBST_FILES.sha+=      meson.build
 SUBST_FILES.sha+=      src/tracker-extract/calculate-hash.sh
-SUBST_SED.sha+=                -e "s,sha256sum,sha256,g"
+SUBST_SED.sha+=                -e "s,sha256sum,shasum -a 256,g"
+SUBST_STAGE.shabuild=  pre-configure
+SUBST_MESSAGE.shabuild=        Fixing the name of the SHA256 tool.
+SUBST_FILES.shabuild+= meson.build
+SUBST_SED.shabuild+=   -e "s,sha256sum,shasum,g"
 .endif
 
 SUBST_CLASSES+=                asciidoc
@@ -55,4 +58,5 @@
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../sysutils/gnome-tracker/buildlink3.mk"
 .include "../../sysutils/upower/buildlink3.mk"
+.include "../../textproc/enca/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index