pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libtecla libtecla: add missing LDFLAGS, document...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0c40ec8c2bb
branches:  trunk
changeset: 425544:f0c40ec8c2bb
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 22 13:38:28 2020 +0000

description:
libtecla: add missing LDFLAGS, document patch-aa

diffstat:

 devel/libtecla/distinfo         |   4 ++--
 devel/libtecla/patches/patch-aa |  24 ++++++++++++++++--------
 2 files changed, 18 insertions(+), 10 deletions(-)

diffs (62 lines):

diff -r 02e4df0724a3 -r f0c40ec8c2bb devel/libtecla/distinfo
--- a/devel/libtecla/distinfo   Sun Mar 22 13:24:00 2020 +0000
+++ b/devel/libtecla/distinfo   Sun Mar 22 13:38:28 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2020/03/15 23:41:54 tnn Exp $
+$NetBSD: distinfo,v 1.8 2020/03/22 13:38:28 tnn Exp $
 
 SHA1 (libtecla-1.6.1.tar.gz) = 99c82990e7a41050211e4a449e50e20ee511c284
 RMD160 (libtecla-1.6.1.tar.gz) = 024f05583dc78bee1a686054799ce32c86890484
 SHA512 (libtecla-1.6.1.tar.gz) = 89d550868c99739b5cfd0ddba45f61d9a8fd1454c7044f29db6cced9cd1de83b895409706a8b85024d6c75678469a4b8b39dd184322d01e1ab6b5faf03c90fc7
 Size (libtecla-1.6.1.tar.gz) = 518995 bytes
-SHA1 (patch-aa) = f65278db23070f97d01bbb000b5d05e8448d3b77
+SHA1 (patch-aa) = 11be4b3d36a8bfc3247db1999b0c0546d5994413
 SHA1 (patch-configure) = 16200249075ab7379e3a0f03331b9265862742b0
diff -r 02e4df0724a3 -r f0c40ec8c2bb devel/libtecla/patches/patch-aa
--- a/devel/libtecla/patches/patch-aa   Sun Mar 22 13:24:00 2020 +0000
+++ b/devel/libtecla/patches/patch-aa   Sun Mar 22 13:38:28 2020 +0000
@@ -1,28 +1,36 @@
-$NetBSD: patch-aa,v 1.3 2008/08/17 05:10:59 dholland Exp $
+$NetBSD: patch-aa,v 1.4 2020/03/22 13:38:28 tnn Exp $
 
---- Makefile.rules~    2002-12-04 01:26:56.000000000 -0500
-+++ Makefile.rules     2008-08-17 00:55:38.000000000 -0400
-@@ -54,19 +54,19 @@
+Patch out bogus rpaths that point to the build directory.
+Add missing LDFLAGS, needed when termcap provides by pkgsrc.
+
+--- Makefile.rules.orig        2002-12-04 06:26:56.000000000 +0000
++++ Makefile.rules
+@@ -54,20 +54,20 @@ libtecla.map.opt: $(srcdir)/libtecla.map
  demos: $(DEMO_PROGS)
  
  demo$(SUFFIX): $(OBJDIR)/demo.o
 -      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+- $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LIBS)
 +      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH" $(CC) $(CFLAGS) -o $@ \
-  $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LIBS)
++ $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LDFLAGS) $(LIBS)
  
  demo2$(SUFFIX): $(OBJDIR)/demo2.o
 -      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+- $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LIBS)
 +      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH" $(CC) $(CFLAGS) -o $@ \
-  $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LIBS)
++ $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LDFLAGS) $(LIBS)
  
  demo3$(SUFFIX): $(OBJDIR)/demo3.o
 -      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+- $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS)
 +      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH" $(CC) $(CFLAGS) -o $@ \
-  $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS)
++ $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LDFLAGS) $(LIBS)
  
  enhance$(SUFFIX): $(OBJDIR)/enhance.o
 -      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \
+- $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS)
 +      LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH" $(CC) $(CFLAGS) -o $@ \
-  $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS)
++ $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LDFLAGS) $(LIBS)
  
  #-----------------------------------------------------------------------
+ # Object file dependencies.



Home | Main Index | Thread Index | Old Index