pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/arc arc: Honor LDFLAGS when linking.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22637645440f
branches:  trunk
changeset: 769004:22637645440f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 06 09:49:20 2021 +0000

description:
arc: Honor LDFLAGS when linking.

diffstat:

 archivers/arc/distinfo         |   4 ++--
 archivers/arc/patches/patch-aa |  24 +++++++++++++++++++++++-
 2 files changed, 25 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 2eb16cb8e0d7 -r 22637645440f archivers/arc/distinfo
--- a/archivers/arc/distinfo    Sat Nov 06 09:46:31 2021 +0000
+++ b/archivers/arc/distinfo    Sat Nov 06 09:49:20 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 09:57:04 nia Exp $
+$NetBSD: distinfo,v 1.15 2021/11/06 09:49:20 nia Exp $
 
 BLAKE2s (arc-5.21p.tar.gz) = fe9c447c2c1ac5fcc9e03ed5311cf2e2ae37fad1813a9890ecc02ba2e1109b16
 SHA512 (arc-5.21p.tar.gz) = c70c01ec407cc27f6507e2715d8b553277609cb49369a1e65a83d007362a24b69bb09ef2bf168ee36ca6797bd4524644a89e9114d866351ae53fece193c2967c
 Size (arc-5.21p.tar.gz) = 84791 bytes
-SHA1 (patch-aa) = efbb7e0a3a715d871dc98ad4fad58d0ae49f5b02
+SHA1 (patch-aa) = 10a314ddbe3c44d8f74a591740973892e3906713
 SHA1 (patch-ab) = e85c2698747106a7319db07185bfe0b6e2480974
 SHA1 (patch-ac) = 3332d9db5c41fb205ab9f5123b0de0704ae634b3
 SHA1 (patch-ad) = b8c7b8a9a0733fb8f4a8963765d3dcd318988afc
diff -r 2eb16cb8e0d7 -r 22637645440f archivers/arc/patches/patch-aa
--- a/archivers/arc/patches/patch-aa    Sat Nov 06 09:46:31 2021 +0000
+++ b/archivers/arc/patches/patch-aa    Sat Nov 06 09:49:20 2021 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2015/01/04 10:43:44 wiz Exp $
+$NetBSD: patch-aa,v 1.6 2021/11/06 09:49:20 nia Exp $
+
+Honor CC, CFLAGS. Use LDFLAGS when linking.
 
 --- Makefile.orig      2010-08-07 13:06:42.000000000 +0000
 +++ Makefile
@@ -20,3 +22,23 @@
  
  # Integer-only stdio routines for Atari ST.
  #LIBS=-liio16
+@@ -69,10 +69,10 @@ MOBJ = marc.o arcdata.o arcdos.o arcio.o
+ all:  arc$(PROG) marc$(PROG)
+ 
+ arc$(PROG):   $(OBJS) $(TMCLOCK)
+-      $(CC) $(OPT) -o arc$(PROG) $(OBJS) $(TMCLOCK) $(LIBS)
++      $(CC) $(OPT) $(LDFLAGS) -o arc$(PROG) $(OBJS) $(TMCLOCK) $(LIBS)
+ 
+ marc$(PROG):  $(MOBJ) $(TMCLOCK)
+-      $(CC) $(OPT) -o marc$(PROG) $(MOBJ) $(TMCLOCK) $(LIBS)
++      $(CC) $(OPT) $(LDFLAGS) -o marc$(PROG) $(MOBJ) $(TMCLOCK) $(LIBS)
+ 
+ clean:
+       rm -f *.o arc$(PROG) marc$(PROG)
+@@ -137,4 +137,4 @@ install: all
+       install -s -m 0755 -D marc $(DESTDIR)$(PREFIX)/bin/marc
+       install -m 0644 -D arc.1 $(DESTDIR)$(PREFIX)/share/man/man1/arc.1
+       install -m 0644 -D marc.1 $(DESTDIR)$(PREFIX)/share/man/man1/marc.1
+-              
+\ No newline at end of file
++              



Home | Main Index | Thread Index | Old Index