chiark / gitweb /
toilet: Switch to mirror for downloading source
[termux-packages] / packages / asciinema / Makefile.patch
1 diff -u -r ../asciinema-1.1.1/Makefile ./Makefile
2 --- ../asciinema-1.1.1/Makefile 2015-06-21 17:58:14.000000000 +0200
3 +++ ./Makefile  2015-08-20 01:39:05.000000000 +0200
4 @@ -1,6 +1,6 @@
5  NAME=asciinema
6  VERSION=$(shell grep 'const Version' main.go | awk -F '"' '{print $$2}')
7 -COMMIT=$(shell git rev-parse --short HEAD)
8 +COMMIT=1.1.1
9  
10  DIRS=bin
11  INSTALL_DIRS=`find $(DIRS) -type d 2>/dev/null`
12 @@ -14,8 +14,8 @@
13  
14  all: build
15  
16 -build: test
17 -       go build -o bin/asciinema -ldflags "-X main.GitCommit $(COMMIT)"
18 +build:
19 +       go build -o bin/asciinema -ldflags "-extldflags=-pie -X main.GitCommit $(COMMIT)"
20  
21  test:
22         go test ./...