summaryrefslogtreecommitdiff
path: root/net/mldonkey
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-05-15 19:16:55 +0000
committerwiz <wiz@pkgsrc.org>2003-05-15 19:16:55 +0000
commitdf0fd6cd819d2df78bf0c39afb1742a8929818cb (patch)
treee0ce66ab66a2eaf938b15b8398718f7450c5d5d3 /net/mldonkey
parent21211e31853960203cbe3d007c6e11503909e36d (diff)
downloadpkgsrc-df0fd6cd819d2df78bf0c39afb1742a8929818cb.tar.gz
Fix building with pth.
Diffstat (limited to 'net/mldonkey')
-rw-r--r--net/mldonkey/Makefile3
-rw-r--r--net/mldonkey/distinfo3
-rw-r--r--net/mldonkey/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile
index 76a932b1bac..c4c10226a89 100644
--- a/net/mldonkey/Makefile
+++ b/net/mldonkey/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/05/05 19:05:17 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2003/05/15 19:16:55 wiz Exp $
#
DISTNAME= mldonkey-2.04rc1.sources
@@ -22,6 +22,7 @@ MLDONKEY_SUBST_SED= ${MLDONKEY_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
CONFIGURE_ENV+= WGET=""
CONFIGURE_ENV+= ac_cv_prog_WGET="no"
+MAKE_ENV+= BUILDLINK_PREFIX.pthread=${BUILDLINK_PREFIX.pthread}
CONFIGURE_ARGS+= --enable-pthread-lib
CONFIGURE_ARGS+= --disable-multinet
diff --git a/net/mldonkey/distinfo b/net/mldonkey/distinfo
index fbc0ec77a5e..146281ff6bd 100644
--- a/net/mldonkey/distinfo
+++ b/net/mldonkey/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/03/31 13:47:17 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2003/05/15 19:16:55 wiz Exp $
SHA1 (mldonkey-2.04rc1.sources.tar.gz) = b75e5586b859b336fd9c44bc637a40d839538d60
Size (mldonkey-2.04rc1.sources.tar.gz) = 1774707 bytes
+SHA1 (patch-aa) = ba60299d8ee9838e40e7c2bef2c12fa0e2d14218
diff --git a/net/mldonkey/patches/patch-aa b/net/mldonkey/patches/patch-aa
new file mode 100644
index 00000000000..9fe95f75cf1
--- /dev/null
+++ b/net/mldonkey/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2003/05/15 19:16:56 wiz Exp $
+
+--- config/configure.orig Mon Mar 10 22:36:22 2003
++++ config/configure
+@@ -3720,7 +3720,7 @@ s%@CAMLP4@%$CAMLP4%g
+ s%@PERL@%$PERL%g
+ s%@GTK_CONFIG@%$GTK_CONFIG%g
+ s%@PTHREAD_CC@%$PTHREAD_CC%g
+-s%@PTHREAD_LIBS@%$PTHREAD_LIBS%g
++s%@PTHREAD_LIBS@%-Wl,-R\${BUILDLINK_PREFIX.pthread}/lib -L\${BUILDLINK_PREFIX.pthread}/lib $PTHREAD_LIBS%g
+ s%@PTHREAD_CFLAGS@%$PTHREAD_CFLAGS%g
+ s%@COMPRESS@%$COMPRESS%g
+ s%@TYPE_FORMAT@%$TYPE_FORMAT%g