pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/grafana



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Wed Jan  1 17:49:03 UTC 2020

Modified Files:
        pkgsrc/www/grafana: Makefile

Log Message:
grafana: fix build with Go 1.13, bump revision.

This version of grafana has a vendored copy of xerrors which uses some
calls that were removed later in the Go 1.13 development process.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/grafana/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/grafana/Makefile
diff -u pkgsrc/www/grafana/Makefile:1.22 pkgsrc/www/grafana/Makefile:1.23
--- pkgsrc/www/grafana/Makefile:1.22    Fri Dec 13 07:44:04 2019
+++ pkgsrc/www/grafana/Makefile Wed Jan  1 17:49:03 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2019/12/13 07:44:04 bsiegert Exp $
+# $NetBSD: Makefile,v 1.23 2020/01/01 17:49:03 bsiegert Exp $
 
 DISTNAME=      grafana-6.3.4
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grafana/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -72,6 +72,9 @@ INSTALLATION_DIRS+=   share/grafana/public
 CONF_FILES+=   ${PREFIX}/share/grafana/conf/sample.ini \
                ${PKG_SYSCONFDIR}/grafana.conf
 
+pre-patch:
+       ${RM} -rf ${WRKSRC}/vendor/golang.org/x/xerrors
+
 #post-build:
 #      cd ${WRKSRC} && yarn install --pure-lockfile && yarn build
 
@@ -82,5 +85,6 @@ do-install:
        cd ${WRKSRC} && ${PAX} -rw conf \
                ${DESTDIR}${PREFIX}/share/grafana/
 
+.include "../../devel/go-xerrors/buildlink3.mk"
 .include "../../lang/go/go-package.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index