summaryrefslogtreecommitdiff
path: root/net-dialup/sterm/files/0001-Fix-install-strip.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-10-29 21:32:07 +0100
committerKarel Kočí <cynerd@email.cz>2017-10-29 21:37:57 +0100
commitcc62363ea73e4b268dc6e45810fba56941ea8c16 (patch)
tree36ddb2631e674393d42cdbf52d8c443360765ce6 /net-dialup/sterm/files/0001-Fix-install-strip.patch
parent4b2fcc7552989911b9401837966eececdc106ad1 (diff)
downloadgentoo-personal-overlay-cc62363ea73e4b268dc6e45810fba56941ea8c16.tar.gz
gentoo-personal-overlay-cc62363ea73e4b268dc6e45810fba56941ea8c16.tar.bz2
gentoo-personal-overlay-cc62363ea73e4b268dc6e45810fba56941ea8c16.zip
Update sterm
Diffstat (limited to 'net-dialup/sterm/files/0001-Fix-install-strip.patch')
-rw-r--r--net-dialup/sterm/files/0001-Fix-install-strip.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-dialup/sterm/files/0001-Fix-install-strip.patch b/net-dialup/sterm/files/0001-Fix-install-strip.patch
new file mode 100644
index 0000000..03bc8b6
--- /dev/null
+++ b/net-dialup/sterm/files/0001-Fix-install-strip.patch
@@ -0,0 +1,36 @@
+From ee783982a99e25d97658a369981d573245e5d0b5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
+Date: Mon, 5 Dec 2016 07:41:40 +0100
+Subject: [PATCH 1/3] Fix install strip
+
+Strip can be used only on executables, adding it to all install
+commands causes error on some systems.
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 2cc363c..539342a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@ CFLAGS = -O2 -Wall -g
+ LDLIBS = -llockdev
+
+ PREFIX ?= /usr/local
+-INSTALL ?= install -s
++INSTALL ?= install
+
+ all: sterm
+
+@@ -11,7 +11,7 @@ clean:
+
+ install: all
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
+- $(INSTALL) -m 755 sterm $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -s -m 755 sterm $(DESTDIR)$(PREFIX)/bin
+ ifneq ($(NO_MAN),1)
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1
+ $(INSTALL) -m 644 sterm.man $(DESTDIR)$(PREFIX)/share/man/man1/sterm.1
+--
+2.13.6
+