diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2004-11-21 01:37:36 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2004-11-21 01:37:36 +0000 |
commit | b899dccdcf0d62fb1465334991a2e0a31e78ff51 (patch) | |
tree | 1d66ab4e568ae387673b32325814469d4f14e6a1 /textproc | |
parent | b4ba1b2d008ce84fcdcb36a9a50c20c53828958d (diff) | |
download | pkgsrc-b899dccdcf0d62fb1465334991a2e0a31e78ff51.tar.gz |
Slight SUBST_* improvement.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/eb/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/eb/Makefile b/textproc/eb/Makefile index 9ed8bed9a05..a1f0b975f79 100644 --- a/textproc/eb/Makefile +++ b/textproc/eb/Makefile @@ -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 @@ EGDIR= ${PREFIX}/share/examples/eb/ # 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 |