aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2016-04-08 16:56:35 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2016-04-08 16:56:35 +0000
commit439e5f5861927805f5a51f09033b3676e4e55ee0 (patch)
treed6978619db43bc789c6574af7dacc36909fb884b /sysutils
parenta57c6c85e72f3323b605c5be9e8fbb1b0d19b47b (diff)
downloadports-439e5f5861927805f5a51f09033b3676e4e55ee0.tar.gz
ports-439e5f5861927805f5a51f09033b3676e4e55ee0.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ipfs-go/Makefile11
-rw-r--r--sysutils/ipfs-go/distinfo4
2 files changed, 9 insertions, 6 deletions
diff --git a/sysutils/ipfs-go/Makefile b/sysutils/ipfs-go/Makefile
index a7ef335590df..8dd2ae427c2f 100644
--- a/sysutils/ipfs-go/Makefile
+++ b/sysutils/ipfs-go/Makefile
@@ -1,15 +1,13 @@
# $FreeBSD$
PORTNAME= ipfs-go
-PORTVERSION= 0.3.9
+PORTVERSION= 0.3.10
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= wg@FreeBSD.org
COMMENT= IPFS implementation in Go
-BROKEN= fails to build
-
BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go
USES= gmake
@@ -35,11 +33,16 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-32bit
# Prepare for possible extra modules in future
post-extract:
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
-.for src in CHANGELOG.md Dockerfile Godeps LICENSE Makefile README.md assets bin blocks blockservice circle.yml cmd commands core dev dev.md diagnostics doc.go docs exchange fuse importer ipnsfs merkledag metrics misc namesys notifications p2p path pin repo routing tar test thirdparty tour unixfs updates util vendor
+.for src in CHANGELOG.md Dockerfile Godeps LICENSE Makefile README.md assets bin blocks blockservice circle.yml cmd commands contribute.md core dev.md diagnostics doc.go docs exchange fuse importer ipnsfs merkledag metrics misc namesys notifications p2p package.json path pin repo routing tar test thirdparty tour unixfs updates util vendor
${MV} ${WRKSRC}/${src} \
${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
.endfor
+post-patch:
+ ${GREP} -R github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log ${WRKSRC} 2>/dev/null | \
+ cut -d':' -f1 | \
+ while read gosrc; do sed -i.bak 's#github.com/ipfs/go-ipfs/vendor/##g' $$gosrc; done
+
do-build:
cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} build
diff --git a/sysutils/ipfs-go/distinfo b/sysutils/ipfs-go/distinfo
index de6e1e71a92f..86d50fbe2523 100644
--- a/sysutils/ipfs-go/distinfo
+++ b/sysutils/ipfs-go/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ipfs-go-ipfs-v0.3.9_GH0.tar.gz) = 74c8cac25f7ef0c5702fe7b59421b2072169ae357d393990c16cc7caccccbc73
-SIZE (ipfs-go-ipfs-v0.3.9_GH0.tar.gz) = 2791618
+SHA256 (ipfs-go-ipfs-v0.3.10_GH0.tar.gz) = 5f3e465ed0b37e1886ea71bd89586faf5968048be18e8105b7ca908376865edc
+SIZE (ipfs-go-ipfs-v0.3.10_GH0.tar.gz) = 3047589