Lines 42-48
GO_WRKDIR_SRC= ${WRKDIR}/src
Link Here
|
42 |
GO_WRKDIR_PKG= ${WRKDIR}/pkg/freebsd_${GOARCH} |
42 |
GO_WRKDIR_PKG= ${WRKDIR}/pkg/freebsd_${GOARCH} |
43 |
|
43 |
|
44 |
BUILD_DEPENDS+= ${GO_CMD}:${PORTSDIR}/lang/go |
44 |
BUILD_DEPENDS+= ${GO_CMD}:${PORTSDIR}/lang/go |
45 |
GO_ENV+= GOPATH="${WRKDIR}:${LOCAL_GOPATH}" \ |
45 |
GO_ENV+= GOBIN="${GO_WRKDIR_BIN}" \ |
|
|
46 |
GOPATH="${WRKDIR}:${LOCAL_GOPATH}" \ |
46 |
CGO_CFLAGS="${CGO_CFLAGS}" \ |
47 |
CGO_CFLAGS="${CGO_CFLAGS}" \ |
47 |
CGO_LDFLAGS="${CGO_LDFLAGS}" |
48 |
CGO_LDFLAGS="${CGO_LDFLAGS}" |
48 |
PLIST_SUB+= GO_LIBDIR=${GO_LIBDIR} \ |
49 |
PLIST_SUB+= GO_LIBDIR=${GO_LIBDIR} \ |