summaryrefslogtreecommitdiff
path: root/lang/qscheme
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-17 10:17:36 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-17 10:17:36 +0000
commitb1019cd243661ca328046ab9238515c60f68713c (patch)
tree35c575e0b7c6c7d99e780643ad7eacb4dd5fc9e9 /lang/qscheme
parentBROKEN with perl != 5.6.1: broken plist (diff)
- Honour PTHREAD_{CFLAGS,LIBS}
PR: ports/62945 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=101175
Diffstat (limited to 'lang/qscheme')
-rw-r--r--lang/qscheme/Makefile6
-rw-r--r--lang/qscheme/files/patch-configure29
2 files changed, 2 insertions, 33 deletions
diff --git a/lang/qscheme/Makefile b/lang/qscheme/Makefile
index d7ceedf8aad9..7ac41a06395d 100644
--- a/lang/qscheme/Makefile
+++ b/lang/qscheme/Makefile
@@ -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/
@@ -46,8 +46,4 @@ 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 --git a/lang/qscheme/files/patch-configure b/lang/qscheme/files/patch-configure
index 4140f7a81dcd..5209603fddc8 100644
--- a/lang/qscheme/files/patch-configure
+++ b/lang/qscheme/files/patch-configure
@@ -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"