Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/scdoc Remove -static in textproc/scdoc to fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6208bde32acc
branches:  trunk
changeset: 437791:6208bde32acc
user:      js <js%pkgsrc.org@localhost>
date:      Mon Aug 31 20:01:12 2020 +0000

description:
Remove -static in textproc/scdoc to fix Darwin

diffstat:

 textproc/scdoc/distinfo               |   3 ++-
 textproc/scdoc/patches/patch-Makefile |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r c0c479244d07 -r 6208bde32acc textproc/scdoc/distinfo
--- a/textproc/scdoc/distinfo   Mon Aug 31 19:55:35 2020 +0000
+++ b/textproc/scdoc/distinfo   Mon Aug 31 20:01:12 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/03/23 02:29:17 riastradh Exp $
+$NetBSD: distinfo,v 1.2 2020/08/31 20:01:12 js Exp $
 
 SHA1 (scdoc-1.10.1.tar.gz) = 5fbd5a9d9af526d92c71dcef46a220facbc2eabc
 RMD160 (scdoc-1.10.1.tar.gz) = fe7d7ed1859a4bcb989e02435506406cea014d07
 SHA512 (scdoc-1.10.1.tar.gz) = 2b6f86263aa7d2f3b08e00772446f8ae067178b8c4ed6d53cb0ed75a8326eb96288813af5faa403a2fbcbfca131adf6e2ca614bcac90c6c3bf979b6c15ec21ad
 Size (scdoc-1.10.1.tar.gz) = 12447 bytes
+SHA1 (patch-Makefile) = db6776d997201358c442277f8ca07ee4858e6697
diff -r c0c479244d07 -r 6208bde32acc textproc/scdoc/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/scdoc/patches/patch-Makefile     Mon Aug 31 20:01:12 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2020/08/31 20:01:12 js Exp $
+
+-static does not work on macOS, and there is no reason why this needs
+to be static.
+
+--- Makefile.orig      2020-02-14 21:38:03.000000000 +0000
++++ Makefile
+@@ -1,6 +1,5 @@
+ VERSION=1.10.1
+ CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
+-LDFLAGS+=-static
+ INCLUDE+=-Iinclude
+ PREFIX?=/usr/local
+ _INSTDIR=$(DESTDIR)$(PREFIX)



Home | Main Index | Thread Index | Old Index