diff -Naur dports/mail/gmime/Portfile dports-devel/mail/gmime/Portfile
old
|
new
|
|
2 | 2 | PortSystem 1.0 |
3 | 3 | |
4 | 4 | name gmime |
5 | | version 2.1.9 |
| 5 | version 2.2.4 |
| 6 | |
| 7 | set branch [strsed ${version} {s/\.[0-9]*$//}] |
| 8 | |
6 | 9 | description MIME mail utilities |
7 | 10 | long_description The GMime suite provides a core library and set of utilities \ |
8 | 11 | which may be used for the creation and parsing of messages \ |
… |
… |
|
13 | 16 | categories mail |
14 | 17 | platforms darwin |
15 | 18 | homepage http://spruce.sourceforge.net/gmime/ |
16 | | master_sites http://spruce.sourceforge.net/gmime/sources/v2.1/ |
17 | | checksums md5 8bd24a56d5f56be9150deb9840a0812a |
| 19 | master_sites http://spruce.sourceforge.net/gmime/sources/v${branch}/ |
| 20 | checksums md5 dd86578d15138596fae2bfe04d392f33 |
18 | 21 | depends_lib bin:pkg-config:pkgconfig \ |
19 | 22 | lib:libiconv:libiconv \ |
20 | | lib:libglib.2:glib2 |
| 23 | lib:libglib-2:glib2 |
21 | 24 | |
| 25 | patchfiles patch-tests__test-mime.c \ |
| 26 | patch-tests__test-mbox.c \ |
| 27 | patch-tests__test-parser.c |
22 | 28 | configure.args --prefix=${prefix} |
| 29 | |
| 30 | test.run yes |
| 31 | test.target check |
diff -Naur dports/mail/gmime/files/patch-tests__test-mbox.c dports-devel/mail/gmime/files/patch-tests__test-mbox.c
old
|
new
|
|
| 1 | --- tests/test-mbox.c 2007-02-08 05:18:31.000000000 +0000 |
| 2 | +++ tests/test-mbox.c 2007-03-04 12:59:52.000000000 +0000 |
| 3 | @@ -18,6 +18,10 @@ |
| 4 | */ |
| 5 | |
| 6 | |
| 7 | +#ifdef HAVE_CONFIG_H |
| 8 | +#include <config.h> |
| 9 | +#endif |
| 10 | + |
| 11 | #include <stdio.h> |
| 12 | #include <stdlib.h> |
| 13 | #include <unistd.h> |
diff -Naur dports/mail/gmime/files/patch-tests__test-mime.c dports-devel/mail/gmime/files/patch-tests__test-mime.c
old
|
new
|
|
| 1 | --- tests/test-mime.c 2007-02-08 05:18:31.000000000 +0000 |
| 2 | +++ tests/test-mime.c 2007-03-04 12:59:40.000000000 +0000 |
| 3 | @@ -18,6 +18,10 @@ |
| 4 | */ |
| 5 | |
| 6 | |
| 7 | +#ifdef HAVE_CONFIG_H |
| 8 | +#include <config.h> |
| 9 | +#endif |
| 10 | + |
| 11 | #include <stdio.h> |
| 12 | #include <string.h> |
| 13 | |
diff -Naur dports/mail/gmime/files/patch-tests__test-parser.c dports-devel/mail/gmime/files/patch-tests__test-parser.c
old
|
new
|
|
| 1 | --- tests/test-parser.c 2007-02-08 05:18:31.000000000 +0000 |
| 2 | +++ tests/test-parser.c 2007-03-04 13:00:00.000000000 +0000 |
| 3 | @@ -18,6 +18,10 @@ |
| 4 | */ |
| 5 | |
| 6 | |
| 7 | +#ifdef HAVE_CONFIG_H |
| 8 | +#include <config.h> |
| 9 | +#endif |
| 10 | + |
| 11 | #include <stdio.h> |
| 12 | #include <stdlib.h> |
| 13 | #include <unistd.h> |