mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
net/cf: Update to 6.24.0
The port now uses a `go build` link flag to set the version (as returned by `cf --version`) of the produced executable. This gets rid of the previous patching; it didn't work anymore with the new source code anyway. Approved by: swills, antoine (mentor) Differential Revision: https://reviews.freebsd.org/D9650
This commit is contained in:
parent
7137ef78f1
commit
46b99691d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434886
2 changed files with 8 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cf
|
||||
PORTVERSION= 6.22.2
|
||||
PORTVERSION= 6.24.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net
|
||||
|
||||
|
@ -27,11 +27,10 @@ STRIP= # stripping can break go binaries
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e "s/BUILT_FROM_SOURCE/${PORTVERSION}/g" \
|
||||
${WRKSRC}/cf/app_constants.go
|
||||
@: ${LN} -s ../.. ${WRKSRC}/vendor/code.cloudfoundry.org/cli
|
||||
do-build:
|
||||
(cd ${WRKDIR}; \
|
||||
${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} \
|
||||
install -v -ldflags="-X code.cloudfoundry.org/cli/version.binaryVersion=${PORTVERSION}" ${GO_TARGET})
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1479575472
|
||||
SHA256 (cloudfoundry-cli-v6.22.2_GH0.tar.gz) = fa5254a6e7197d9de86f3f9e1084d1f51f04cfa201b27c85b467a3320dbecda6
|
||||
SIZE (cloudfoundry-cli-v6.22.2_GH0.tar.gz) = 5399810
|
||||
TIMESTAMP = 1487333583
|
||||
SHA256 (cloudfoundry-cli-v6.24.0_GH0.tar.gz) = bb62e9bed4b95b0042426dab9fd40890de48ed04a9ff654193cf803d35422f75
|
||||
SIZE (cloudfoundry-cli-v6.24.0_GH0.tar.gz) = 5632074
|
||||
|
|
Loading…
Add table
Reference in a new issue