summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-01-11 12:46:24 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-01-11 12:46:50 -0800
commit987c32348aee624179468e43dd38fcf6e724e0a2 (patch)
tree9e672f245dbe2e1979a4ea905f1b7c49dcf0ee27 /dev-db
parentnet-nds/nsscache: bump; fixes bug #571498. (diff)
downloadgentoo-987c32348aee624179468e43dd38fcf6e724e0a2.tar.gz
gentoo-987c32348aee624179468e43dd38fcf6e724e0a2.tar.bz2
gentoo-987c32348aee624179468e43dd38fcf6e724e0a2.zip
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
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/lmdb/lmdb-0.9.14.ebuild14
-rw-r--r--dev-db/lmdb/lmdb-0.9.15.ebuild14
-rw-r--r--dev-db/lmdb/lmdb-0.9.16.ebuild14
-rw-r--r--dev-db/lmdb/lmdb-0.9.17.ebuild14
4 files changed, 28 insertions, 28 deletions
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
}