summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-19 21:43:13 +0000
committerSam James <sam@gentoo.org>2021-03-19 21:43:23 +0000
commit6a11066e80787923436d8389fd0aca711f69ecf6 (patch)
treec2067512d39499913f542cea15314e5eac3de1c1 /dev-db
parentdev-db/libdbi-drivers: tidy ebuild (diff)
downloadgentoo-6a11066e80787923436d8389fd0aca711f69ecf6.tar.gz
gentoo-6a11066e80787923436d8389fd0aca711f69ecf6.tar.bz2
gentoo-6a11066e80787923436d8389fd0aca711f69ecf6.zip
dev-db/libdbi-drivers: fix build with slibtool
Closes: https://bugs.gentoo.org/775878 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-slibtool-libdir.patch21
-rw-r--r--dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild1
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-slibtool-libdir.patch b/dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-slibtool-libdir.patch
new file mode 100644
index 000000000000..4db7485d33de
--- /dev/null
+++ b/dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-slibtool-libdir.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/775878
+
+commit efbee1f631981bd454051d20796f1cd52fe16f00
+Author: orbea <orbea@riseup.net>
+Date: Fri Mar 19 09:01:22 2021 -0700
+
+ build: Fix the pgsql linker path.
+
+diff --git a/acinclude.m4 b/acinclude.m4
+index 8e89af8..7504d63 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -191,7 +191,7 @@ if test "$ac_pgsql" = "yes"; then
+ PGSQL_INCLUDE=-I$ac_pgsql_incdir
+ fi
+ if test "$ac_pgsql_libdir" = "no"; then
+- PGSQL_LDFLAGS=`pg_config --libdir`
++ PGSQL_LDFLAGS=-L`pg_config --libdir`
+ else
+ PGSQL_LDFLAGS=-L$ac_pgsql_libdir
+ fi
diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild
index f7695f3a4331..74c9b7367fbb 100644
--- a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild
+++ b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0-r1.ebuild
@@ -34,6 +34,7 @@ PATCHES=(
#"${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch
#"${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch
"${FILESDIR}"/${PN}-0.9.0-doc-build-fix.patch
+ "${FILESDIR}"/${PN}-0.9.0-slibtool-libdir.patch
)
pkg_setup() {