pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/facette Fix Go invocation. Mark as BROKEN bec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f4e662460632
branches: trunk
changeset: 358551:f4e662460632
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Feb 14 21:24:04 2017 +0000
description:
Fix Go invocation. Mark as BROKEN because it tries to fetch things from
the net during build.
diffstat:
sysutils/facette/Makefile | 4 +++-
sysutils/facette/distinfo | 4 ++--
sysutils/facette/patches/patch-Makefile | 19 +++++++++++++++++--
3 files changed, 22 insertions(+), 5 deletions(-)
diffs (71 lines):
diff -r 9202b2176dde -r f4e662460632 sysutils/facette/Makefile
--- a/sysutils/facette/Makefile Tue Feb 14 21:23:13 2017 +0000
+++ b/sysutils/facette/Makefile Tue Feb 14 21:24:04 2017 +0000
@@ -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 @@
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 -r 9202b2176dde -r f4e662460632 sysutils/facette/distinfo
--- a/sysutils/facette/distinfo Tue Feb 14 21:23:13 2017 +0000
+++ b/sysutils/facette/distinfo Tue Feb 14 21:24:04 2017 +0000
@@ -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 -r 9202b2176dde -r f4e662460632 sysutils/facette/patches/patch-Makefile
--- a/sysutils/facette/patches/patch-Makefile Tue Feb 14 21:23:13 2017 +0000
+++ b/sysutils/facette/patches/patch-Makefile Tue Feb 14 21:24:04 2017 +0000
@@ -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 @@
--- 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 @@
.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...)
Home |
Main Index |
Thread Index |
Old Index