svn commit: r496300 - head/www/unit-go
Sergey A. Osokin
osa at FreeBSD.org
Wed Mar 20 01:12:38 UTC 2019
Author: osa
Date: Wed Mar 20 01:12:36 2019
New Revision: 496300
URL: https://svnweb.freebsd.org/changeset/ports/496300
Log:
Be more specific with go cache to fix the failed build.
<BuildLog>
GOPATH=/wrkdirs/usr/ports/www/unit-go/work go build nginx/unit
failed to initialize build cache at /nonexistent/.cache/go-build: mkdir /nonexistent: permission denied
</BuildLog>
Do not bump PORTREVISION.
Modified:
head/www/unit-go/Makefile
Modified: head/www/unit-go/Makefile
==============================================================================
--- head/www/unit-go/Makefile Wed Mar 20 00:19:00 2019 (r496299)
+++ head/www/unit-go/Makefile Wed Mar 20 01:12:36 2019 (r496300)
@@ -22,10 +22,10 @@ post-extract:
@true # override master's
post-configure:
- cd ${WRKSRC} && ${SETENV} ${GO_ENV} ./configure go --go-path=${WRKDIR}
+ cd ${WRKSRC} && ${SETENV} ${GO_ENV} GOCACHE=${WRKSRC}/go ./configure go --go-path=${WRKDIR}
pre-build:
- cd ${WRKSRC} && ${MAKE} && ${MAKE} go-install
+ cd ${WRKSRC} && ${MAKE_CMD} && ${SETENV} ${GO_ENV} GOCACHE=${WRKSRC}/go ${MAKE_CMD} go-install
post-install:
@true # override master's
More information about the svn-ports-head
mailing list