Browse Source

benchmarks/hey: Remove symlink hack for requester in favour of GO_PKGNAME

Submitted by:	Dmitri Goutnik <dg@syrec.org>
master
Bernhard Fröhlich 4 months ago
parent
commit
a6cd0b7dbc
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      benchmarks/hey/Makefile

+ 2
- 4
benchmarks/hey/Makefile View File

@@ -14,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
14 14
 
15 15
 USES=		go
16 16
 
17
+GO_PKGNAME=	github.com/rakyll/hey
18
+
17 19
 USE_GITHUB=	yes
18 20
 GH_ACCOUNT=	rakyll
19 21
 
@@ -22,8 +24,4 @@ GH_TUPLE=	golang:net:04a2e54:net/vendor/golang.org/x/net \
22 24
 
23 25
 PLIST_FILES=	bin/hey
24 26
 
25
-post-patch:
26
-	${MKDIR} ${WRKSRC}/vendor/github.com/rakyll/hey
27
-	${LN} -s ${WRKSRC}/requester ${WRKSRC}/vendor/github.com/rakyll/hey/requester
28
-
29 27
 .include <bsd.port.mk>

Loading…
Cancel
Save