diff options
author | uebayasi <uebayasi> | 2004-11-21 01:37:36 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2004-11-21 01:37:36 +0000 |
commit | 9b728899ac8588202206587f32385e06682f7dd6 (patch) | |
tree | 1d66ab4e568ae387673b32325814469d4f14e6a1 /textproc | |
parent | 34740c6ad8677fe6aa49207b675542decfde6f0f (diff) | |
download | pkgsrc-9b728899ac8588202206587f32385e06682f7dd6.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 |