pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/eb Slight SUBST_* improvement.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7167c2571ab7
branches:  trunk
changeset: 483881:7167c2571ab7
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Sun Nov 21 01:37:36 2004 +0000

description:
Slight SUBST_* improvement.

diffstat:

 textproc/eb/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 493479c457db -r 7167c2571ab7 textproc/eb/Makefile
--- a/textproc/eb/Makefile      Sat Nov 20 23:30:22 2004 +0000
+++ b/textproc/eb/Makefile      Sun Nov 21 01:37:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/11/20 16:00:35 uebayasi Exp $
+# $NetBSD: Makefile,v 1.23 2004/11/21 01:37:36 uebayasi Exp $
 # FreeBSD Id: ports/japanese/eb/Makefile,v 1.21 2000/08/21 03:39:42 kevlo Exp
 #
 
@@ -70,10 +70,10 @@
 # XXX Better than having unflexible/static patches.  IMO.
 # -    ZLIBLIBS="-L$z_libdir -lz"
 # +    ZLIBLIBS="-Wl,-R$z_libdir -L$z_libdir -lz"
-SUBST_CLASSES=         dynlink
-SUBST_STAGE.dynlink=   post-patch
-SUBST_FILES.dynlink=   configure configure.ac
-SUBST_SED.dynlink=     -e 's|^\(.*LIBS=.\)-L\(\$$[^[:blank:]][^[:blank:]]*\)\(.*\)$$|\1-Wl,-R\2 -L\2\3|'
+SUBST_CLASSES=         runpath
+SUBST_STAGE.runpath=   post-patch
+SUBST_FILES.runpath=   configure configure.ac
+SUBST_SED.runpath=     -e 's|^\(.*LIBS=['\''"]\)-L\(\$$[^[:blank:]][^[:blank:]]*\)\(.*\)$$|\1-Wl,-R\2 -L\2\3|'
 
 post-extract:
        ${RM} -rf ${WRKSRC}/zlib



Home | Main Index | Thread Index | Old Index