Date: 17 Feb 2004 03:32:59 -0000 From: Erik Greenwald <erik@smluc.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erik@math.smsu.edu Subject: ports/62945: update for lang/qscheme 0.5.1 to obey PTHREAD_LIBS and PTHREAD_CFLAGS appropriately Message-ID: <20040217033259.27849.qmail@phoenix.smluc.org> Resent-Message-ID: <200402170340.i1H3eLEA014343@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62945 >Category: ports >Synopsis: update for lang/qscheme 0.5.1 to obey PTHREAD_LIBS and PTHREAD_CFLAGS appropriately >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 16 19:40:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Erik Greenwald >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD fenris 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Feb 14 21:56:11 EST 2004 root@fenris:/usr/obj/usr/src/sys/FENRIS i386 >Description: libc_r was being linked in explicitely, should be grabbed out of PTHREAD_LIBS instead... hiked revision so it'd be rebuilt on systems that need it relinked appropriately... >How-To-Repeat: >Fix: --- lang_qscheme.patch begins here --- diff -Nurb lang/qscheme.orig/Makefile lang/qscheme/Makefile --- lang/qscheme.orig/Makefile Mon Feb 16 19:18:37 2004 +++ lang/qscheme/Makefile Mon Feb 16 22:22:16 2004 @@ -7,7 +7,7 @@ PORTNAME= qscheme PORTVERSION= 0.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang scheme MASTER_SITES= http://www.sof.ch/dan/qscheme/files/ @@ -44,10 +44,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4 CONFIGURE_ARGS+= --with-gmp-lib=${LOCALBASE}/lib \ --with-gmp-inc=${LOCALBASE}/include -.endif - -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" .endif .include <bsd.port.post.mk> diff -Nurb lang/qscheme.orig/files/patch-configure lang/qscheme/files/patch-configure --- lang/qscheme.orig/files/patch-configure Thu Nov 20 18:39:47 2003 +++ lang/qscheme/files/patch-configure Mon Feb 16 22:20:03 2004 @@ -1,5 +1,5 @@ --- configure.orig Thu Jun 22 07:09:24 2000 -+++ configure Sun Oct 19 10:33:16 2003 ++++ configure Mon Feb 16 22:18:46 2004 @@ -1156,47 +1156,6 @@ echo "$ac_t""no" 1>&6 fi @@ -103,33 +103,6 @@ echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6 echo "configure:1342: checking for atan in -lm" >&5 ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'` -@@ -1385,14 +1296,14 @@ - { echo "configure: error: needs libm" 1>&2; exit 1; } - fi - --echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 --echo "configure:1390: checking for pthread_create in -lpthread" >&5 -+echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 -+echo "configure:1390: checking for pthread_create in -lc_r" >&5 - ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" --LIBS="-lpthread $LIBS" -+LIBS="-lc_r $LIBS" - cat > conftest.$ac_ext <<EOF - #line 1398 "configure" - #include "confdefs.h" -@@ -1426,7 +1337,7 @@ - #define $ac_tr_lib 1 - EOF - -- LIBS="-lpthread $LIBS" -+ LIBS="-lc_r $LIBS" - - else - echo "$ac_t""no" 1>&6 @@ -2485,7 +2396,7 @@ ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" --- lang_qscheme.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040217033259.27849.qmail>