From d4c86131668f411199a96917f238a44c884c7c1c Mon Sep 17 00:00:00 2001 From: cube Date: Tue, 11 Nov 2008 23:12:32 +0000 Subject: Fix a bug in the configure script that would do bad things on the value of LDFLAGS. Bump PKGREVISION. Reported by Mr. Siemiradzki (yes, I'm avoiding writing your first name because I don't know what the first character is) on current-users. --- mail/libetpan/Makefile | 3 ++- mail/libetpan/distinfo | 4 +++- mail/libetpan/patches/patch-ab | 13 +++++++++++++ mail/libetpan/patches/patch-ac | 13 +++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 mail/libetpan/patches/patch-ab create mode 100644 mail/libetpan/patches/patch-ac (limited to 'mail/libetpan') diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile index 684064ed64b..b36badcc6b9 100644 --- a/mail/libetpan/Makefile +++ b/mail/libetpan/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2008/10/11 19:27:19 smb Exp $ +# $NetBSD: Makefile,v 1.25 2008/11/11 23:12:32 cube Exp $ # DISTNAME= libetpan-0.57 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libetpan/} diff --git a/mail/libetpan/distinfo b/mail/libetpan/distinfo index a380ecec094..89d03ef4dbf 100644 --- a/mail/libetpan/distinfo +++ b/mail/libetpan/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.11 2008/10/11 19:27:19 smb Exp $ +$NetBSD: distinfo,v 1.12 2008/11/11 23:12:32 cube Exp $ SHA1 (libetpan-0.57.tar.gz) = 7c4dfb78614c51e2ff4c9d7082b492f1c697f021 RMD160 (libetpan-0.57.tar.gz) = 87fbe083db76e2e04acbe2b5a82b886a5ba9d00c Size (libetpan-0.57.tar.gz) = 1676498 bytes SHA1 (patch-aa) = e783adf544c9a63df584815ee4b033249cecf0ff +SHA1 (patch-ab) = 32078db33d7aea5a4303e1128c1f4b5b48826c8f +SHA1 (patch-ac) = 4eb95c9764fc7733c2515b3e2b607ff45d0b9ee0 diff --git a/mail/libetpan/patches/patch-ab b/mail/libetpan/patches/patch-ab new file mode 100644 index 00000000000..40eb31d5a92 --- /dev/null +++ b/mail/libetpan/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.5 2008/11/11 23:12:32 cube Exp $ + +--- configure.ac.orig 2008-10-08 19:54:20.000000000 +0000 ++++ configure.ac +@@ -456,7 +456,7 @@ if test "x$enable_threads" = "xyes"; the + LDFLAGS="-$flag $LDFLAGS" + AC_TRY_LINK([], [pthread_create();], + [pthflag=yes; checkpthread=no], +- [pthflag=no; LDFLAGS="$OLDCFLAGS"]) ++ [pthflag=no; LDFLAGS="$OLDFLAGS"]) + AC_MSG_RESULT($pthflag) + fi + done diff --git a/mail/libetpan/patches/patch-ac b/mail/libetpan/patches/patch-ac new file mode 100644 index 00000000000..dd287053b2f --- /dev/null +++ b/mail/libetpan/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2008/11/11 23:12:32 cube Exp $ + +--- configure.orig 2008-10-08 19:55:48.000000000 +0000 ++++ configure +@@ -23452,7 +23452,7 @@ else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +- pthflag=no; LDFLAGS="$OLDCFLAGS" ++ pthflag=no; LDFLAGS="$OLDFLAGS" + fi + + rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -- cgit v1.2.3