diff options
author | joerg <joerg@pkgsrc.org> | 2017-02-14 21:24:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-02-14 21:24:04 +0000 |
commit | 28fa4947f9439dd5b3b9f1b3f1f73b0125271ffc (patch) | |
tree | c3e7952271804b616b64dc2237f5a8f0fadf3d15 /sysutils/facette | |
parent | 5ae23603918efcc787d8d725e199c2c2d233739c (diff) | |
download | pkgsrc-28fa4947f9439dd5b3b9f1b3f1f73b0125271ffc.tar.gz |
Fix Go invocation. Mark as BROKEN because it tries to fetch things from
the net during build.
Diffstat (limited to 'sysutils/facette')
-rw-r--r-- | sysutils/facette/Makefile | 4 | ||||
-rw-r--r-- | sysutils/facette/distinfo | 4 | ||||
-rw-r--r-- | sysutils/facette/patches/patch-Makefile | 19 |
3 files changed, 22 insertions, 5 deletions
diff --git a/sysutils/facette/Makefile b/sysutils/facette/Makefile index 52f69282cb7..b629bf21a24 100644 --- a/sysutils/facette/Makefile +++ b/sysutils/facette/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2017/02/12 06:25:59 ryoon Exp $ +# $NetBSD: Makefile,v 1.13 2017/02/14 21:24:04 joerg Exp $ DISTNAME= facette-0.4.0dev PKGREVISION= 12 @@ -15,6 +15,8 @@ GITHUB_TAG= d77e77680d52d232305d0f12af6e3e1c857903cb EXTRACT_USING= bsdtar +BROKEN= Tries to install uglify-js during build. + USE_TOOLS+= bsdtar gmake gsed pax pkg-config BUILD_DEPENDS+= go-[0-9]*:../../lang/go BUILD_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs diff --git a/sysutils/facette/distinfo b/sysutils/facette/distinfo index 469c8815ffa..c33a75119df 100644 --- a/sysutils/facette/distinfo +++ b/sysutils/facette/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1 2016/03/08 16:52:44 imil Exp $ +$NetBSD: distinfo,v 1.2 2017/02/14 21:24:04 joerg Exp $ SHA1 (facette-0.4.0dev-d77e77680d52d232305d0f12af6e3e1c857903cb.tar.gz) = d0025f1b4612b5c6230793fa962dd9d9cc753b72 RMD160 (facette-0.4.0dev-d77e77680d52d232305d0f12af6e3e1c857903cb.tar.gz) = 94821f0b05c8381f12140827827e23faf9277608 SHA512 (facette-0.4.0dev-d77e77680d52d232305d0f12af6e3e1c857903cb.tar.gz) = 6739f0c2b599b4297b9dec12c0a288f4f1b0a9e6aed8774a2b8daa82cfbe5f577d3e4c5bb247a2853a1775ba6a5f7502e5b03f1e77aab85a46b6da82dff0852c Size (facette-0.4.0dev-d77e77680d52d232305d0f12af6e3e1c857903cb.tar.gz) = 3580148 bytes -SHA1 (patch-Makefile) = 7f91867729aa60c7329138af846239cc61f3898c +SHA1 (patch-Makefile) = f7aca35d5f03fe877ee88079fe6cca372b4b01a1 diff --git a/sysutils/facette/patches/patch-Makefile b/sysutils/facette/patches/patch-Makefile index 45438464941..ede7e74323c 100644 --- a/sysutils/facette/patches/patch-Makefile +++ b/sysutils/facette/patches/patch-Makefile @@ -1,4 +1,4 @@ -$NetBSD: patch-Makefile,v 1.1 2016/03/08 16:52:44 imil Exp $ +$NetBSD: patch-Makefile,v 1.2 2017/02/14 21:24:04 joerg Exp $ Make facette Makefile NetBSD-friendly. @@ -8,7 +8,7 @@ Make facette Makefile NetBSD-friendly. --- Makefile.orig 2015-12-22 05:00:11.000000000 +0000 +++ Makefile -@@ -16,6 +16,13 @@ UNAME := $(shell uname -s) +@@ -16,6 +16,13 @@ TAGS ?= facette \ GO ?= go @@ -36,6 +36,21 @@ Make facette Makefile NetBSD-friendly. .PHONY: install install: install-bin install-doc install-static +@@ -118,10 +130,10 @@ $(BIN_OUTPUT): $(PKG_SRC) $(BIN_SRC) $(B + @$(call mesg_start,$(notdir $@),Building $(notdir $@)...) + @install -d -m 0755 $(dir $@) && $(GO) build \ + -ldflags " \ +- -X main.version $(VERSION) \ +- -X main.buildDate '$(BUILD_DATE)' \ +- $(PKG_LIST:%=-X github.com/facette/facette/%.version $(VERSION)) \ +- $(PKG_LIST:%=-X github.com/facette/facette/%.buildDate '$(BUILD_DATE)') \ ++ -X main.version=$(VERSION) \ ++ -X main.buildDate='$(BUILD_DATE)' \ ++ $(PKG_LIST:%=-X github.com/facette/facette/%.version=$(VERSION)) \ ++ $(PKG_LIST:%=-X github.com/facette/facette/%.buildDate='$(BUILD_DATE)') \ + " \ + -tags "$(TAGS)" \ + -o $@ cmd/$(notdir $@)/*.go && \ @@ -277,7 +289,7 @@ $(SCRIPT_EXTRA_OUTPUT): $(SCRIPT_EXTRA) $(MESG_OUTPUT): $(MESG_SRC) @$(call mesg_start,static,Packing $(MESG_SRC) file...) |