aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/eselect-php/files/multilib-aware.patch')
-rw-r--r--app-admin/eselect-php/files/multilib-aware.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/eselect-php/files/multilib-aware.patch b/app-admin/eselect-php/files/multilib-aware.patch
new file mode 100644
index 0000000..bc8b463
--- /dev/null
+++ b/app-admin/eselect-php/files/multilib-aware.patch
@@ -0,0 +1,11 @@
+--- eselect-php-0.6.6.orig 2012-07-09 08:29:24.000000000 -0400
++++ eselect-php-0.6.6 2012-07-09 08:30:04.000000000 -0400
+@@ -33,7 +33,7 @@
+ get_libname() {
+ # probe on a well-known library
+ local lib ret=.so
+- for lib in "${EROOT}"/lib/libz.* ; do
++ for lib in "${EROOT}"$(get_active_libdir)/libz.* ; do
+ case "${lib##*/}" in
+ libz.a) ret=.a ;; # some platforms use .a as ext
+ libz.*.*) continue ;;