Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2017 02:18:59 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Julien Laffaye <jlaffaye@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r438983 - head/lang/go
Message-ID:  <CAMHz58QtkJB%2BCp7QkRzEtdxau1mysLaB3h0sBV0ebW96JO73qw@mail.gmail.com>
In-Reply-To: <201704201659.v3KGxA4q094285@repo.freebsd.org>
References:  <201704201659.v3KGxA4q094285@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 21, 2017 at 12:59 AM, Julien Laffaye <jlaffaye@freebsd.org>
wrote:

> Author: jlaffaye
> Date: Thu Apr 20 16:59:10 2017
> New Revision: 438983
> URL: https://svnweb.freebsd.org/changeset/ports/438983
>
> Log:
>   Fix build with new shebang checks
>
>   PR:           218702
>   Submitted by: Kenji Rikitake <kenji@k2r.org>
>
> Modified:
>   head/lang/go/Makefile
>
> Modified: head/lang/go/Makefile
> ============================================================
> ==================
> --- head/lang/go/Makefile       Thu Apr 20 16:54:18 2017        (r438982)
> +++ head/lang/go/Makefile       Thu Apr 20 16:59:10 2017        (r438983)
> @@ -16,13 +16,24 @@ LICENSE=    BSD3CLAUSE
>  BUILD_DEPENDS= go14>=1.4:lang/go14
>
>  USES=          shebangfix
> -SHEBANG_LANG=  sh
> +SHEBANG_LANG=  sh perl rc
>  SHEBANG_FILES= ${WRKSRC}/src/*.bash \
> -               ${WRKSRC}/doc/articles/wiki/*.bash
> +               ${WRKSRC}/doc/articles/wiki/*.bash \
> +               ${WRKSRC}/lib/time/*.bash \
> +               ${WRKSRC}/misc/benchcmp \
> +               ${WRKSRC}/misc/nacl/go_nacl_*_exec \
> +               ${WRKSRC}/src/*.rc \
> +               ${WRKSRC}/src/cmd/dist/*.bash \
> +               ${WRKSRC}/src/cmd/go/*.sh \
> +               ${WRKSRC}/src/net/http/cgi/testdata/*.cgi \
> +               ${WRKSRC}/src/regexp/syntax/*.pl
>
>
FYI, ${WRKSRC} is not needed.

Ref: Mk/Uses/shebangfix.mk

SHEBANG_FILES       list of files or glob pattern relative to ${WRKSRC}


>  sh_OLD_CMD=    "/usr/bin/env bash"
>  sh_CMD=                ${SH}
>
> +rc_OLD_CMD=    /bin/rc
> +rc_CMD=                ${LOCALBASE}/bin/rc
> +
>  WRKSRC=                ${WRKDIR}/go
>  ONLY_FOR_ARCHS=        i386 amd64 armv6
>
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58QtkJB%2BCp7QkRzEtdxau1mysLaB3h0sBV0ebW96JO73qw>