summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch')
-rw-r--r--net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch b/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch
new file mode 100644
index 00000000000..54608a66541
--- /dev/null
+++ b/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch
@@ -0,0 +1,16 @@
+Never strip executable
+
+Patch by Michael Mair-Keimberger
+
+--- ncp-1.2.4/GNUmakefile 2005-05-13 19:17:17.000000000 +0200
++++ ncp-1.2.4-ng/GNUmakefile 2020-09-04 20:08:50.399902892 +0200
+@@ -53,9 +53,6 @@
+
+ ncp: ncp.o libsocket
+ $(CC) $< -o $@ -I. $(CFLAGS) $(LDFLAGS) $(LDLIBS) `cat libsocket`
+-ifeq ($(DEBUG),)
+- strip -R .note -R .comment ncp || strip ncp
+-endif
+
+ install:
+ install -d $(PREFIX)/bin $(PREFIX)/man/man1