aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2002-07-11 18:52:14 +0800
committerwjv <wjv@FreeBSD.org>2002-07-11 18:52:14 +0800
commitf9416f826aa5876559888faebf0080220889596c (patch)
tree31914ff08391fd371fe32da753958ce0c1e2707b /biology
parent718e49f91203efdfe2746b94380a51132314af8d (diff)
downloadfreebsd-ports-gnome-f9416f826aa5876559888faebf0080220889596c.tar.gz
freebsd-ports-gnome-f9416f826aa5876559888faebf0080220889596c.tar.zst
freebsd-ports-gnome-f9416f826aa5876559888faebf0080220889596c.zip
- Add patch that will, for -CURRENT only, change: -pthread -> -lc_r
- Bump $PORTREVISION Prompted by: Various questions from Rune Linding <linding@EMBL-Heidelberg.DE>
Diffstat (limited to 'biology')
-rw-r--r--biology/hmmer/Makefile1
-rw-r--r--biology/hmmer/files/patch-configure22
2 files changed, 23 insertions, 0 deletions
diff --git a/biology/hmmer/Makefile b/biology/hmmer/Makefile
index f3c5ead9cd28..92658fd19195 100644
--- a/biology/hmmer/Makefile
+++ b/biology/hmmer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hmmer
PORTVERSION= 2.2.g
+PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= ftp://ftp.genetics.wustl.edu/pub/eddy/hmmer/${VERSIONSTRING}/
DISTNAME= ${PORTNAME}-${VERSIONSTRING}
diff --git a/biology/hmmer/files/patch-configure b/biology/hmmer/files/patch-configure
new file mode 100644
index 000000000000..495beac9e357
--- /dev/null
+++ b/biology/hmmer/files/patch-configure
@@ -0,0 +1,22 @@
+--- configure.orig Mon Aug 6 01:55:52 2001
++++ configure Thu Jul 11 12:38:47 2002
+@@ -1094,6 +1094,9 @@
+
+ acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
+ ;;
++ *freebsd5*)
++ acx_pthread_flags="-lc_r -kthread lthread -pthread"
++ ;;
+ esac
+
+ if test x"$acx_pthread_ok" = xno; then
+@@ -1418,6 +1421,9 @@
+ # we'll just look for -pthreads and -lpthread first:
+
+ acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
++ ;;
++ *freebsd5*)
++ acx_pthread_flags="-lc_r -kthread lthread -pthread"
+ ;;
+ esac
+