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/patches | |
parent | 82b326583ce81159aff0e3efc7fb700c6283f59b (diff) | |
download | pkgsrc-70318282845df5ac7634ff296cdefd6f08f72dd0.tar.gz |
get rid of autoconf build dependency by patching configure
Diffstat (limited to 'mail/libesmtp/patches')
-rw-r--r-- | mail/libesmtp/patches/patch-ac | 23 |
1 files changed, 23 insertions, 0 deletions
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 + |