mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Turn long-used seds into patches so we notice when they break (#979798). Drop Darwin8/9 workarounds, long obsolete. Thanks to David-John Miller in bug #979798 for pointing out the problem with the Darwin sed. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
20 lines
760 B
Diff
20 lines
760 B
Diff
Makefile.SH: record to be installed location in install_name
|
|
|
|
Instead of using $PWD, which is our build directory, use the to be
|
|
installed to location for the install_name on Darwin, soas to make it
|
|
point to something valid.
|
|
|
|
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
--- a/Makefile.SH
|
|
+++ b/Makefile.SH
|
|
@@ -64,7 +64,7 @@
|
|
${revision}.${patchlevel}.${subversion}"
|
|
case "$osvers" in
|
|
1[5-9]*|[2-9]*)
|
|
- shrpldflags="$shrpldflags -install_name `pwd -P`/libperl.${revision}.${patchlevel}.dylib -Xlinker -headerpad_max_install_names"
|
|
+ shrpldflags="$shrpldflags -install_name \$(shrpdir)/libperl.${revision}.${patchlevel}.dylib -Xlinker -headerpad_max_install_names"
|
|
exeldflags="-Xlinker -headerpad_max_install_names"
|
|
;;
|
|
*)
|