git: f12e09a8b724 - main - Mk/Uses/go.mk: Fix indentations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Aug 2023 18:51:26 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=f12e09a8b7248bfd24a8d63fdddc7a3722c45a02 commit f12e09a8b7248bfd24a8d63fdddc7a3722c45a02 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-08-22 18:44:04 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-08-22 18:51:20 +0000 Mk/Uses/go.mk: Fix indentations [pre-commit] ERROR: go.mk is not properly indented -- please use /tmp/check_indentations-go.mk.KpLlFV8WBv/go.mk which was created using Tools/scripts/indent_make_if.pl Reported by: 'check_mk_indentations' pre-commit hook --- Mk/Uses/go.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk index e22f8a9d7589..76b664b7b9b8 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -90,11 +90,11 @@ GO_PKGNAME= ${PORTNAME} GO_TARGET?= ${GO_PKGNAME} GO_TESTTARGET?= ./... -.if !defined(PIE_UNSAFE) && defined(WITH_PIE) && ${ARCH} == amd64 +. if !defined(PIE_UNSAFE) && defined(WITH_PIE) && ${ARCH} == amd64 GO_BUILDFLAGS+= -buildmode=pie -.else +. else GO_BUILDFLAGS+= -buildmode=exe -.endif +. endif GO_BUILDFLAGS+= -v -trimpath . if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*) GO_BUILDFLAGS+= -ldflags=-s