aboutsummaryrefslogtreecommitdiff
path: root/mail/elm
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-09-09 16:29:59 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-09-09 16:29:59 +0000
commita06ba05f306c0b09f5d5f64f1abc1d03eca7e9d2 (patch)
treefb48f15ff201034729a5a17411d16544ec61ae5a /mail/elm
parent79844335c35027ce8b11800ba87d9c267e087ed2 (diff)
downloadports-a06ba05f306c0b09f5d5f64f1abc1d03eca7e9d2.tar.gz
ports-a06ba05f306c0b09f5d5f64f1abc1d03eca7e9d2.zip
. Fix build problems that some people are experiencing by also taking
account of weak symbols in libc to determine which functions are available. PR: 47379, 50135 Submitted by: Kevin Day <toasty@dragondata.com> (maintainer)
Notes
Notes: svn path=/head/; revision=88869
Diffstat (limited to 'mail/elm')
-rw-r--r--mail/elm/files/patch-aa13
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/elm/files/patch-aa b/mail/elm/files/patch-aa
index fa8b25c278a4..1a44cb1b9905 100644
--- a/mail/elm/files/patch-aa
+++ b/mail/elm/files/patch-aa
@@ -1,5 +1,5 @@
---- Configure.bak Fri Dec 15 08:00:55 2000
-+++ Configure Mon Oct 21 21:11:16 2002
+--- Configure.orig Fri Dec 15 14:00:55 2000
++++ Configure Mon Jan 27 04:04:55 2003
@@ -18,11 +18,6 @@
PATH=".:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH"
export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
@@ -20,6 +20,15 @@
test -f $1 || set /usr/lib/libc.so
test -f $1 || set /usr/lib/libc.so.[0-9]*
test -f $1 || set /lib/libsys_s.a
+@@ -2108,7 +2104,7 @@
+ set `echo $libc $libnames | tr ' ' '\012' | sort | uniq`
+ $echo $n "Extracting names from $* for later perusal...$c"
+ nm $nm_opts $* 2>/dev/null >libc.tmp
+-$sed -n -e 's/^.* [ATDS] *[_.]*//p' -e 's/^.* [ATDS] //p' <libc.tmp >libc.list
++$sed -n -e 's/^.* [ATDSW] *[_.]*//p' -e 's/^.* [ATDSW] //p' <libc.tmp >libc.list
+ if $contains '^printf$' libc.list >/dev/null 2>&1; then
+ echo done
+ elif $sed -n -e 's/^__*//' -e 's/^\([a-zA-Z_0-9$]*\).*xtern.*/\1/p' \
@@ -2496,7 +2492,10 @@
#
: see if crypt exists