pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/detex Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/beaec5e27fd4
branches:  trunk
changeset: 365263:beaec5e27fd4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 10:56:51 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

Set LICENSE while here.

diffstat:

 textproc/detex/Makefile         |   4 ++--
 textproc/detex/distinfo         |   4 ++--
 textproc/detex/patches/patch-aa |  22 +++++++++++++++++-----
 3 files changed, 21 insertions(+), 9 deletions(-)

diffs (73 lines):

diff -r 389154884fee -r beaec5e27fd4 textproc/detex/Makefile
--- a/textproc/detex/Makefile   Wed Jul 12 10:53:23 2017 +0000
+++ b/textproc/detex/Makefile   Wed Jul 12 10:56:51 2017 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/10/25 06:55:45 asau Exp $
-#
+# $NetBSD: Makefile,v 1.15 2017/07/12 10:56:51 wiz Exp $
 
 DISTNAME=      detex-2.8
 CATEGORIES=    textproc
@@ -9,6 +8,7 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.cs.purdue.edu/homes/trinkle/detex/
 COMMENT=       Remove LaTeX commands
+LICENSE=       modified-bsd # nearly
 
 USE_TOOLS+=    lex
 
diff -r 389154884fee -r beaec5e27fd4 textproc/detex/distinfo
--- a/textproc/detex/distinfo   Wed Jul 12 10:53:23 2017 +0000
+++ b/textproc/detex/distinfo   Wed Jul 12 10:56:51 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2015/11/04 01:59:26 agc Exp $
+$NetBSD: distinfo,v 1.11 2017/07/12 10:56:51 wiz Exp $
 
 SHA1 (detex-2.8.tar) = 57691f8e4dd52cbf632f38abebfd8c3725de019b
 RMD160 (detex-2.8.tar) = 983ea90de9e3559317baf4a71de0e8de47863b7d
 SHA512 (detex-2.8.tar) = 5afd54aebc3a018e9b72a5e5f37d05858b0b90c1165ec725b08995f5338479153a04ff938a2f54543108c66ac2f66d2c06159d331c9cde304ebce32b527c737f
 Size (detex-2.8.tar) = 318976 bytes
-SHA1 (patch-aa) = 4ad2937ed0c6fbd00b3767c8bdeb92dd1e7e5652
+SHA1 (patch-aa) = fc0bfd8144608dbd8b1f8ff74eb2da73e62495e4
 SHA1 (patch-ab) = b9fe692f1dbbb96c6d249c702f53f15658d01d0a
diff -r 389154884fee -r beaec5e27fd4 textproc/detex/patches/patch-aa
--- a/textproc/detex/patches/patch-aa   Wed Jul 12 10:53:23 2017 +0000
+++ b/textproc/detex/patches/patch-aa   Wed Jul 12 10:56:51 2017 +0000
@@ -1,8 +1,11 @@
-$NetBSD: patch-aa,v 1.4 2008/11/20 02:19:26 chuck Exp $
+$NetBSD: patch-aa,v 1.5 2017/07/12 10:56:51 wiz Exp $
 
---- Makefile.orig      2008-11-19 20:18:35.000000000 -0500
-+++ Makefile   2008-11-19 20:19:26.000000000 -0500
-@@ -69,7 +69,7 @@
+Chunks 1 & 2: ?
+Chunk 3: honor LDFLAGS.
+
+--- Makefile.orig      2008-02-01 19:55:51.000000000 +0000
++++ Makefile
+@@ -69,7 +69,7 @@ DEFS =
  #
  #DEFS += ${DEFS} -DNO_MALLOC_DECL
  #
@@ -11,7 +14,7 @@
  
  # Use your favorite lexical scanner
  #
-@@ -80,7 +80,7 @@
+@@ -80,7 +80,7 @@ LEX  = lex
  
  # scanner library
  #
@@ -20,3 +23,12 @@
  #LEXLIB       = -lfl
  
  LPR   = lpr -p
+@@ -104,7 +104,7 @@ D_OBJ      = detex.o
+ all:  ${PROGS}
+ 
+ detex: ${D_OBJ}
+-      ${CC} ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB}
++      ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${D_OBJ} ${LEXLIB}
+ 
+ detex.c:
+       sed -f states.sed detex.l > xxx.l



Home | Main Index | Thread Index | Old Index