* src/Makefile.am
* src/procmime.c
Fix mime/globs path on NetBSD
patch by George Michaelson
+2007-03-05 [colin] 2.8.0cvs23
+
+ * src/Makefile.am
+ * src/procmime.c
+ Fix mime/globs path on NetBSD
+ patch by George Michaelson
+
2007-03-05 [wwp] 2.8.0cvs22
* src/addr_compl.c
( cvs diff -u -r 1.25.2.27 -r 1.25.2.28 src/matcher_parser_parse.y; ) > 2.8.0cvs20.patchset
( cvs diff -u -r 1.1.2.21 -r 1.1.2.22 src/plugins/pgpcore/prefs_gpg.c; ) > 2.8.0cvs21.patchset
( cvs diff -u -r 1.27.2.33 -r 1.27.2.34 src/addr_compl.c; ) > 2.8.0cvs22.patchset
+( cvs diff -u -r 1.155.2.53 -r 1.155.2.54 src/Makefile.am; cvs diff -u -r 1.49.2.89 -r 1.49.2.90 src/procmime.c; ) > 2.8.0cvs23.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=22
+EXTRA_VERSION=23
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
-DFAQDIR=\""$(faqdir)"\" \
-DTARGET_ALIAS=\""$(target_triplet)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DDATAROOTDIR=\""$(datarootdir)"\" \
$(ASPELL_CFLAGS) \
$(GTK_CFLAGS) \
$(GPGME_CFLAGS) \
if (mime_type_list)
return mime_type_list;
- if ((fp = g_fopen("/usr/share/mime/globs", "rb")) == NULL) {
+#if defined(__NetBSD__)
+ if ((fp = g_fopen(DATAROOTDIR "/mime/globs", "rb")) == NULL)
+#else
+ if ((fp = g_fopen("/usr/share/mime/globs", "rb")) == NULL)
+#endif
+ {
fp_is_glob_file = FALSE;
if ((fp = g_fopen("/etc/mime.types", "rb")) == NULL) {
if ((fp = g_fopen(SYSCONFDIR "/mime.types", "rb"))