From owner-svn-ports-head@freebsd.org Thu Aug 29 03:45:34 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 59BA7EFD1D; Thu, 29 Aug 2019 03:45:34 +0000 (UTC) (envelope-from yuri@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46JpRL1jKLz47km; Thu, 29 Aug 2019 03:45:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C30319FAB; Thu, 29 Aug 2019 03:45:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7T3jXkG033088; Thu, 29 Aug 2019 03:45:33 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7T3jXH0033087; Thu, 29 Aug 2019 03:45:33 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201908290345.x7T3jXH0033087@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 29 Aug 2019 03:45:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r510136 - head/www/nginx-prometheus-exporter X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/www/nginx-prometheus-exporter X-SVN-Commit-Revision: 510136 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2019 03:45:34 -0000 Author: yuri Date: Thu Aug 29 03:45:33 2019 New Revision: 510136 URL: https://svnweb.freebsd.org/changeset/ports/510136 Log: www/nginx-prometheus-exporter: Switch to USES=go:modules, fix build with go1.13 PR: 240170 Submitted by: Dmitri Goutnik Approved by: portmgr (fix build) Modified: head/www/nginx-prometheus-exporter/Makefile Modified: head/www/nginx-prometheus-exporter/Makefile ============================================================================== --- head/www/nginx-prometheus-exporter/Makefile Thu Aug 29 03:42:29 2019 (r510135) +++ head/www/nginx-prometheus-exporter/Makefile Thu Aug 29 03:45:33 2019 (r510136) @@ -11,14 +11,11 @@ COMMENT= Prometheus exporter for NGINX and NGINX Plus LICENSE= APACHE20 -USES= go +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= nginxinc -GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} -GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME} - PLIST_FILES= bin/${PORTNAME} USE_RC_SUBR= ${PORTNAME} @@ -27,8 +24,5 @@ LD_FLAG_X_PREFIX= -X main LD_FLAG_STRING= -s \ ${LD_FLAG_X_PREFIX}.version=${PORTVERSION} GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" - -do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include