diff options
author | Maxim <kolmax94@gmail.com> | 2011-06-16 21:34:50 +0400 |
---|---|---|
committer | Maxim <kolmax94@gmail.com> | 2011-06-16 21:34:50 +0400 |
commit | 24c3087f34e7ac7779e8bd10ea1173406dffd395 (patch) | |
tree | c2faef776aa911b6a484d3d9b1bbdceec5809726 /dev-lang/perl/files/perl-5.8.8-usr-local.patch | |
parent | Add profile generation to script/full-bootstrap-prefix.sh (diff) | |
download | gentoo-openbsd-24c3087f34e7ac7779e8bd10ea1173406dffd395.tar.gz gentoo-openbsd-24c3087f34e7ac7779e8bd10ea1173406dffd395.tar.bz2 gentoo-openbsd-24c3087f34e7ac7779e8bd10ea1173406dffd395.zip |
Copy perl adding workaround for libm on OpenBSD
Diffstat (limited to 'dev-lang/perl/files/perl-5.8.8-usr-local.patch')
-rw-r--r-- | dev-lang/perl/files/perl-5.8.8-usr-local.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-5.8.8-usr-local.patch b/dev-lang/perl/files/perl-5.8.8-usr-local.patch new file mode 100644 index 0000000..c44b786 --- /dev/null +++ b/dev-lang/perl/files/perl-5.8.8-usr-local.patch @@ -0,0 +1,25 @@ +# remove /usr/local paths from all stuff thats used +# in Configure script, locincpth, loclibpth and glibpth are sedded +# afterwards not to conflict with the lib32 and lib64 patches + +diff -rubB perl-5.8.8.orig/Configure perl-5.8.8/Configure +--- perl-5.8.8.orig/Configure Tue Jan 15 10:41:29 2008 ++++ perl-5.8.8/Configure Tue Jan 15 10:44:59 2008 +@@ -4424,7 +4422,7 @@ + : Set private lib path + case "$plibpth" in + '') if ./mips; then +- plibpth="$incpath/usr/lib /usr/local/lib /usr/ccs/lib" ++ plibpth="$incpath/usr/lib /usr/ccs/lib" + fi;; + esac + case "$libpth" in +@@ -19144,7 +19142,7 @@ + case "$ranlib" in + :) ranlib='';; + '') +- ranlib=`./loc ranlib X /usr/bin /bin /usr/local/bin` ++ ranlib=`./loc ranlib X /usr/bin /bin` + $test -f $ranlib || ranlib='' + ;; + esac |