diff options
author | wiz <wiz@pkgsrc.org> | 2017-07-12 10:56:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-07-12 10:56:51 +0000 |
commit | c7884d45a2827103624fd9da529a7112278dbec3 (patch) | |
tree | 67fe839ac0f95b3b6ba5c0f526f9fadf266ae21c /textproc/detex | |
parent | d5f000930734154f4244d7d648d8aec2acb6a48b (diff) | |
download | pkgsrc-c7884d45a2827103624fd9da529a7112278dbec3.tar.gz |
Honor LDFLAGS. Fixes RELRO build.
Set LICENSE while here.
Diffstat (limited to 'textproc/detex')
-rw-r--r-- | textproc/detex/Makefile | 4 | ||||
-rw-r--r-- | textproc/detex/distinfo | 4 | ||||
-rw-r--r-- | textproc/detex/patches/patch-aa | 22 |
3 files changed, 21 insertions, 9 deletions
diff --git a/textproc/detex/Makefile b/textproc/detex/Makefile index 365901d1e64..34bcdf21b3a 100644 --- a/textproc/detex/Makefile +++ b/textproc/detex/Makefile @@ -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 @@ EXTRACT_SUFX= .tar MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cs.purdue.edu/homes/trinkle/detex/ COMMENT= Remove LaTeX commands +LICENSE= modified-bsd # nearly USE_TOOLS+= lex diff --git a/textproc/detex/distinfo b/textproc/detex/distinfo index b6f7069defa..394bdb2c31b 100644 --- a/textproc/detex/distinfo +++ b/textproc/detex/distinfo @@ -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 --git a/textproc/detex/patches/patch-aa b/textproc/detex/patches/patch-aa index a9577deebd4..092b5d5a7aa 100644 --- a/textproc/detex/patches/patch-aa +++ b/textproc/detex/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.4 2008/11/20 02:19:26 chuck Exp $ # Use your favorite lexical scanner # -@@ -80,7 +80,7 @@ +@@ -80,7 +80,7 @@ LEX = lex # scanner library # @@ -20,3 +23,12 @@ $NetBSD: patch-aa,v 1.4 2008/11/20 02:19:26 chuck Exp $ #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 |