Date: Sat, 17 Aug 2019 01:58:31 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509133 - head/databases/redis_exporter Message-ID: <201908170158.x7H1wVRg009396@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Aug 17 01:58:31 2019 New Revision: 509133 URL: https://svnweb.freebsd.org/changeset/ports/509133 Log: databases/redis_exporter: Switch to USES=go:modules, fix build with go1.13 PR: 239880 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: portmgr (unbreak with the upcoming go1.13) Modified: head/databases/redis_exporter/Makefile Modified: head/databases/redis_exporter/Makefile ============================================================================== --- head/databases/redis_exporter/Makefile Sat Aug 17 01:55:45 2019 (r509132) +++ head/databases/redis_exporter/Makefile Sat Aug 17 01:58:31 2019 (r509133) @@ -12,14 +12,12 @@ COMMENT= Prometheus exporter for redis stats LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= oliver006 USE_RC_SUBR= redis_exporter -GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} -GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME} GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" PLIST_FILES= bin/redis_exporter @@ -27,8 +25,5 @@ PLIST_FILES= bin/redis_exporter LD_FLAG_X_PREFIX= -X main LD_FLAG_STRING= -s \ ${LD_FLAG_X_PREFIX}.BuildVersion=${PORTVERSION} - -do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/bin/redis_exporter ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908170158.x7H1wVRg009396>