svn commit: r438983 - head/lang/go

Sunpoet Po-Chuan Hsieh sunpoet at freebsd.org
Thu Apr 20 18:19:41 UTC 2017


On Fri, Apr 21, 2017 at 12:59 AM, Julien Laffaye <jlaffaye at 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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"


More information about the svn-ports-head mailing list