diff options
author | adamw <adamw@FreeBSD.org> | 2004-08-07 23:42:12 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-08-07 23:42:12 +0800 |
commit | d52ce9c8391442d68c1fbb352f81f6a929ac7e40 (patch) | |
tree | c27185ecc32c1cfa37bd5ca9a105432731e812ba /mail/elmo-devel | |
parent | 00dc4bf342f784268ca66229ace5dd8874b877a7 (diff) | |
download | freebsd-ports-gnome-d52ce9c8391442d68c1fbb352f81f6a929ac7e40.tar.gz freebsd-ports-gnome-d52ce9c8391442d68c1fbb352f81f6a929ac7e40.tar.zst freebsd-ports-gnome-d52ce9c8391442d68c1fbb352f81f6a929ac7e40.zip |
Fix build with -stable.
Diffstat (limited to 'mail/elmo-devel')
-rw-r--r-- | mail/elmo-devel/Makefile | 5 | ||||
-rw-r--r-- | mail/elmo-devel/files/patch-src_elmoconf.pl | 10 | ||||
-rw-r--r-- | mail/elmo-devel/files/patch-src_str.c | 14 | ||||
-rw-r--r-- | mail/elmo-devel/pkg-message | 6 |
4 files changed, 34 insertions, 1 deletions
diff --git a/mail/elmo-devel/Makefile b/mail/elmo-devel/Makefile index abf4a8d9d00f..28abe8f4cf09 100644 --- a/mail/elmo-devel/Makefile +++ b/mail/elmo-devel/Makefile @@ -37,7 +37,10 @@ pre-everything:: .endif post-patch: - @${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL}|" \ + @${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \ ${WRKSRC}/src/elmoconf.pl +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.post.mk> diff --git a/mail/elmo-devel/files/patch-src_elmoconf.pl b/mail/elmo-devel/files/patch-src_elmoconf.pl new file mode 100644 index 000000000000..0414ca2c7fc6 --- /dev/null +++ b/mail/elmo-devel/files/patch-src_elmoconf.pl @@ -0,0 +1,10 @@ +--- src/elmoconf.pl.orig Sat Aug 7 11:30:51 2004 ++++ src/elmoconf.pl Sat Aug 7 11:32:44 2004 +@@ -26,7 +26,6 @@ + # This script sets up user's config file based on few simple questions. + + use strict; +-use warnings; + + use constant VERSION => "1.48"; + diff --git a/mail/elmo-devel/files/patch-src_str.c b/mail/elmo-devel/files/patch-src_str.c new file mode 100644 index 000000000000..b06758e23c50 --- /dev/null +++ b/mail/elmo-devel/files/patch-src_str.c @@ -0,0 +1,14 @@ +--- src/str.c.orig Sat Aug 7 11:07:36 2004 ++++ src/str.c Sat Aug 7 11:22:37 2004 +@@ -217,7 +217,11 @@ + + while (1){ + max_size = str->size - str->len - 1; ++#if (defined(__FreeBSD__) && __FreeBSD__ < 5) ++ copy = ap; ++#else + va_copy (copy, ap); ++#endif + n = vsnprintf (str->str + str->len, max_size, fmt, copy); + if (n > -1 && n < max_size){ + str->len += n; diff --git a/mail/elmo-devel/pkg-message b/mail/elmo-devel/pkg-message new file mode 100644 index 000000000000..c6efcfd77ec4 --- /dev/null +++ b/mail/elmo-devel/pkg-message @@ -0,0 +1,6 @@ +============== +In order to use elmo, you must run the script elmoconf.pl, +which will interactively create your elmo configuration file. +Additionally, you must input some basic smtp settings if you +want to be able to send messages. +============== |