diff options
author | dillo <dillo@pkgsrc.org> | 2002-10-02 22:08:43 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2002-10-02 22:08:43 +0000 |
commit | 70318282845df5ac7634ff296cdefd6f08f72dd0 (patch) | |
tree | 08cbdc698de1e955ab6ccfd8f7c3dcca66a37020 /mail/libesmtp | |
parent | 82b326583ce81159aff0e3efc7fb700c6283f59b (diff) | |
download | pkgsrc-70318282845df5ac7634ff296cdefd6f08f72dd0.tar.gz |
get rid of autoconf build dependency by patching configure
Diffstat (limited to 'mail/libesmtp')
-rw-r--r-- | mail/libesmtp/Makefile | 7 | ||||
-rw-r--r-- | mail/libesmtp/distinfo | 3 | ||||
-rw-r--r-- | mail/libesmtp/patches/patch-ac | 23 |
3 files changed, 26 insertions, 7 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile index 546e3ccda83..62f45ffba42 100644 --- a/mail/libesmtp/Makefile +++ b/mail/libesmtp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/09/22 13:01:24 cjep Exp $ +# $NetBSD: Makefile,v 1.2 2002/10/02 22:08:43 dillo Exp $ DISTNAME= libesmtp-1.0rc1 CATEGORIES= mail devel @@ -11,16 +11,11 @@ MAINTAINER= dolemite@wuli.nu HOMEPAGE= http://www.stafford.uklinux.net/libesmtp/ COMMENT= Library to manage posting of electronic mail -BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf - USE_BUILDLINK2= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-all -pre-configure: - cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf - .include "../../devel/pth/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" .include "../../devel/libtool/buildlink2.mk" diff --git a/mail/libesmtp/distinfo b/mail/libesmtp/distinfo index 0d21f39fb6f..a448e79d18f 100644 --- a/mail/libesmtp/distinfo +++ b/mail/libesmtp/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/09/22 13:01:24 cjep Exp $ +$NetBSD: distinfo,v 1.2 2002/10/02 22:08:43 dillo Exp $ SHA1 (libesmtp-1.0rc1.tar.bz2) = ae74259df8457ce5efb6e838674cd9464ffda2ce Size (libesmtp-1.0rc1.tar.bz2) = 251615 bytes SHA1 (patch-aa) = 83f000765b7bf3b498f0fa2130360c1aae85a043 SHA1 (patch-ab) = cc027b93ae55b84c1b569ddcdd2644d4f63a33a5 +SHA1 (patch-ac) = e3c9b741915b7e24e307c9adfde2063a06430f5d diff --git a/mail/libesmtp/patches/patch-ac b/mail/libesmtp/patches/patch-ac new file mode 100644 index 00000000000..edfabed5697 --- /dev/null +++ b/mail/libesmtp/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1 2002/10/02 22:08:43 dillo Exp $ + +--- configure.orig Thu Oct 3 00:01:46 2002 ++++ configure +@@ -6612,10 +6612,17 @@ EOF + cat >>confdefs.h <<\EOF + #define _POSIX_C_SOURCE 199506L + EOF +- ++case $host_vendor-$host_os in ++*netbsd*) ++cat >>confdefs.h <<\EOF ++#define _XOPEN_SOURCE 520 ++EOF ++;; ++*) + cat >>confdefs.h <<\EOF + #define _XOPEN_SOURCE 500 + EOF ++esac + + fi + |