From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 16 19:40:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95B7816A4D2 for ; Mon, 16 Feb 2004 19:40:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B3CB43D31 for ; Mon, 16 Feb 2004 19:40:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1H3eLbv014344 for ; Mon, 16 Feb 2004 19:40:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1H3eLEA014343; Mon, 16 Feb 2004 19:40:21 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 16 Feb 2004 19:40:21 -0800 (PST) Resent-Message-Id: <200402170340.i1H3eLEA014343@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erik Greenwald Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6725C16A4CE for ; Mon, 16 Feb 2004 19:32:59 -0800 (PST) Received: from phoenix.smluc.org (phoenix.smluc.org [12.28.48.23]) by mx1.FreeBSD.org (Postfix) with SMTP id 0948343D1D for ; Mon, 16 Feb 2004 19:32:59 -0800 (PST) (envelope-from erik@phoenix.smluc.org) Received: (qmail 27850 invoked by uid 1000); 17 Feb 2004 03:32:59 -0000 Message-Id: <20040217033259.27849.qmail@phoenix.smluc.org> Date: 17 Feb 2004 03:32:59 -0000 From: Erik Greenwald To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: erik@math.smsu.edu Subject: ports/62945: update for lang/qscheme 0.5.1 to obey PTHREAD_LIBS and PTHREAD_CFLAGS appropriately X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Erik Greenwald List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 03:40:21 -0000 >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 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 <&6 @@ -2485,7 +2396,7 @@ ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" --- lang_qscheme.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: