From 987c32348aee624179468e43dd38fcf6e724e0a2 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 11 Jan 2016 12:46:24 -0800 Subject: dev-db/lmdb: do not use / as sed subst seperator in match or replacement that can contain paths, per bug #569086. Package-Manager: portage-2.2.24 --- dev-db/lmdb/lmdb-0.9.14.ebuild | 14 +++++++------- dev-db/lmdb/lmdb-0.9.15.ebuild | 14 +++++++------- dev-db/lmdb/lmdb-0.9.16.ebuild | 14 +++++++------- dev-db/lmdb/lmdb-0.9.17.ebuild | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) (limited to 'dev-db/lmdb') diff --git a/dev-db/lmdb/lmdb-0.9.14.ebuild b/dev-db/lmdb/lmdb-0.9.14.ebuild index 5493891693df..05722a365373 100644 --- a/dev-db/lmdb/lmdb-0.9.14.ebuild +++ b/dev-db/lmdb/lmdb-0.9.14.ebuild @@ -22,13 +22,13 @@ RDEPEND="!=net-nds/openldap-2.4.40" S="${WORKDIR}/mdb-mdb/libraries/liblmdb" src_prepare() { - sed -i -e "s/^CC.*/CC = $(tc-getCC)/" \ - -e "s/^CFLAGS.*/CFLAGS = ${CFLAGS}/" \ - -e "s/ar rs/$(tc-getAR) rs/" \ - -e "s:^prefix.*:prefix = /usr:" \ - -e "s:/man/:/share/man/:" \ - -e "/for f/s:lib:$(get_libdir):" \ - -e "s:shared:shared -Wl,-soname,liblmdb.so.0:" \ + sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ + -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ + -e "s!ar rs!$(tc-getAR) rs!" \ + -e "s!^prefix.*!prefix = /usr!" \ + -e "s!/man/!/share/man/!" \ + -e "/for f/s!lib!$(get_libdir)!" \ + -e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \ "${S}/Makefile" || die } diff --git a/dev-db/lmdb/lmdb-0.9.15.ebuild b/dev-db/lmdb/lmdb-0.9.15.ebuild index 212d1840c0fe..c6db607e9323 100644 --- a/dev-db/lmdb/lmdb-0.9.15.ebuild +++ b/dev-db/lmdb/lmdb-0.9.15.ebuild @@ -21,13 +21,13 @@ RDEPEND="!=net-nds/openldap-2.4.40" S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb" src_prepare() { - sed -i -e "s/^CC.*/CC = $(tc-getCC)/" \ - -e "s/^CFLAGS.*/CFLAGS = ${CFLAGS}/" \ - -e "s/ar rs/$(tc-getAR) rs/" \ - -e "s:^prefix.*:prefix = /usr:" \ - -e "s:/man/:/share/man/:" \ - -e "/for f/s:lib:$(get_libdir):" \ - -e "s:shared:shared -Wl,-soname,liblmdb.so.0:" \ + sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ + -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ + -e "s!ar rs!$(tc-getAR) rs!" \ + -e "s!^prefix.*!prefix = /usr!" \ + -e "s!/man/!/share/man/!" \ + -e "/for f/s!lib!$(get_libdir)!" \ + -e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \ "${S}/Makefile" || die } diff --git a/dev-db/lmdb/lmdb-0.9.16.ebuild b/dev-db/lmdb/lmdb-0.9.16.ebuild index 212d1840c0fe..c6db607e9323 100644 --- a/dev-db/lmdb/lmdb-0.9.16.ebuild +++ b/dev-db/lmdb/lmdb-0.9.16.ebuild @@ -21,13 +21,13 @@ RDEPEND="!=net-nds/openldap-2.4.40" S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb" src_prepare() { - sed -i -e "s/^CC.*/CC = $(tc-getCC)/" \ - -e "s/^CFLAGS.*/CFLAGS = ${CFLAGS}/" \ - -e "s/ar rs/$(tc-getAR) rs/" \ - -e "s:^prefix.*:prefix = /usr:" \ - -e "s:/man/:/share/man/:" \ - -e "/for f/s:lib:$(get_libdir):" \ - -e "s:shared:shared -Wl,-soname,liblmdb.so.0:" \ + sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ + -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ + -e "s!ar rs!$(tc-getAR) rs!" \ + -e "s!^prefix.*!prefix = /usr!" \ + -e "s!/man/!/share/man/!" \ + -e "/for f/s!lib!$(get_libdir)!" \ + -e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \ "${S}/Makefile" || die } diff --git a/dev-db/lmdb/lmdb-0.9.17.ebuild b/dev-db/lmdb/lmdb-0.9.17.ebuild index 13bcb4a8443f..b097c2511305 100644 --- a/dev-db/lmdb/lmdb-0.9.17.ebuild +++ b/dev-db/lmdb/lmdb-0.9.17.ebuild @@ -21,13 +21,13 @@ RDEPEND="!=net-nds/openldap-2.4.40" S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb" src_prepare() { - sed -i -e "s/^CC.*/CC = $(tc-getCC)/" \ - -e "s/^CFLAGS.*/CFLAGS = ${CFLAGS}/" \ - -e "s/^AR.*/AR = $(tc-getAR)/" \ - -e "/mkdir/s:lib:$(get_libdir):" \ - -e "/for f/s:lib:$(get_libdir):" \ - -e "s:prefix)/man:mandir):" \ - -e "s:shared:shared -Wl,-soname,liblmdb.so.0:" \ + sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ + -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ + -e "s!^AR.*!AR = $(tc-getAR)!" \ + -e "/mkdir/s!lib!$(get_libdir)!" \ + -e "/for f/s!lib!$(get_libdir)!" \ + -e "s!prefix)/man!mandir)!" \ + -e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \ "${S}/Makefile" || die } -- cgit v1.2.3-65-gdbad