Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 21:57:30 -0500 (CDT)
From:      Kevin Day <toasty@dragondata.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44366: [MAINTAINER PATCH] Fix broken ports/mail/elm
Message-ID:  <200210220257.g9M2vUcF076810@server10.stileproject.com>

next in thread | raw e-mail | index | archive | help

>Number:         44366
>Category:       ports
>Synopsis:       [MAINTAINER PATCH] Fix broken ports/mail/elm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 21 20:00:12 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Day
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Dragondata, Inc.
>Environment:
System: FreeBSD server10.stileproject.com 4.7-RELEASE FreeBSD 4.7-RELEASE #2: Fri Sep 27 19:05:47 GMT 2002 toasty@server10.stileproject.com:/usr/src/sys/compile/SERVER i386


>Description:

ports/mail/elm failed to configure properly starting sometime recently due
to nm -p not returning symbols for /usr/lib/libc.so

Reported by: Randy Bush <randy@psg.com> 

>How-To-Repeat:
>Fix:

Replace ports/mail/elm/files/patch-aa with this:


--- Configure.bak     Fri Dec 15 08:00:55 2000
+++ Configure  Mon Oct 21 21:11:16 2002
@@ -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 $$)
 
-if test ! -t 0; then
-    echo "Say 'sh Configure', not 'sh <Configure'"
-    exit 1
-fi
-
 (alias) >/dev/null 2>&1 && \
     echo "(I see you are using the Korn shell.  Some ksh's blow up on Configure," && \
     echo "especially on exotic machines.  If yours does, try the Bourne shell instead.)"
@@ -2055,6 +2050,7 @@
     libc=/usr/lib/libc.a
 else
 set /usr/ccs/lib/libc.so
+test -f $1 || set /usr/lib/libc.a
 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
@@ -2496,7 +2492,10 @@
 #
 : see if crypt exists
 echo " "
-if $contains '^crypt$' libc.list >/dev/null 2>&1; then
+if $test "$cryptlib" = -lcrypt; then
+    echo 'crypt() found.'
+    d_crypt="$define"
+elif $contains '^crypt$' libc.list >/dev/null 2>&1; then
     echo 'crypt() found.'
     d_crypt="$define"
     cryptlib=''
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210220257.g9M2vUcF076810>