New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve general GNU hints, needed for GNU/Hurd #11722
Comments
From @jmdhCreated by @jmdhThis is a bug report for perl from dom@earth.li, ----------------------------------------------------------------- Perl Info
|
From @jmdhhurd-hints.diffFrom d6fd7595fcd04b332e7449f59ea298639f10a183 Mon Sep 17 00:00:00 2001
From: Pino Toscano <pino@debian.org>
Date: Wed, 10 Aug 2011 08:11:33 +0300
Subject: Improve general GNU hints, needed for GNU/Hurd.
Bug-Debian: http://bugs.debian.org/636609
Patch-Name: fixes/hurd-hints.diff
---
ext/ODBM_File/hints/gnu.pl | 1 +
hints/gnu.sh | 12 ++++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
create mode 100644 ext/ODBM_File/hints/gnu.pl
diff --git a/ext/ODBM_File/hints/gnu.pl b/ext/ODBM_File/hints/gnu.pl
new file mode 100644
index 0000000..db63567
--- /dev/null
+++ b/ext/ODBM_File/hints/gnu.pl
@@ -0,0 +1 @@
+do './hints/linux.pl' or die $@;
diff --git a/hints/gnu.sh b/hints/gnu.sh
index c1ba2db..f075642 100644
--- a/hints/gnu.sh
+++ b/hints/gnu.sh
@@ -8,10 +8,22 @@ set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'`
shift
libswanted="$*"
+# Debian 4.0 puts ndbm in the -lgdbm_compat library.
+libswanted="$libswanted gdbm_compat"
+
case "$optimize" in
'') optimize='-O2' ;;
esac
+case "$plibpth" in
+'') plibpth=`gcc -print-search-dirs | grep libraries |
+ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
+ set X $plibpth # Collapse all entries on one line
+ shift
+ plibpth="$*"
+ ;;
+esac
+
# Flags needed to produce shared libraries.
lddlflags='-shared'
|
From @tseeThanks, applied. But not tested on Hurd yet. Could you give blead perl |
From [Unknown Contact. See original ticket]Thanks, applied. But not tested on Hurd yet. Could you give blead perl |
@tsee - Status changed from 'new' to 'resolved' |
From @tseeThanks, applied. But not tested on Hurd yet. Could you give blead perl |
From @jmdhOn Mon, Oct 31, 2011 at 12:41:38AM -0700, Steffen Mueller via RT wrote:
The patch as submitted allows blead (as of yesterday) to build to Cheers, -- |
Migrated from rt.perl.org#102516 (status was 'resolved')
Searchable as RT102516$
The text was updated successfully, but these errors were encountered: