openbsd-ports/mail/metamail/patches/patch-src_config_h

36 lines
1006 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_config_h,v 1.1 2012/03/17 10:57:23 sthen Exp $
--- src/config.h.orig Wed Nov 24 15:36:07 1993
+++ src/config.h Sat Mar 17 10:51:52 2012
2010-07-12 15:03:13 -04:00
@@ -73,7 +73,7 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#ifdef SYSV
#define RESET_PROGRAM "tput clear"
#else
-#ifdef __BSD_4_4__
+#if defined(__BSD_4_4__) || defined(__FreeBSD__)
#define RESET_PROGRAM "/usr/bin/reset"
#else
#define RESET_PROGRAM "/usr/ucb/reset"
2010-07-12 15:03:13 -04:00
@@ -155,9 +155,13 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#ifdef NeXT
#define sigtype void
#else
+#ifdef __FreeBSD__
+#define sigtype void
+#else
#define sigtype int
#endif
#endif
2003-04-26 10:55:32 -04:00
+#endif
2003-04-26 10:55:32 -04:00
#ifdef MSDOS
#define PATH_SEPARATOR ';'
2010-07-12 15:03:13 -04:00
@@ -173,7 +177,7 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
2003-04-26 10:55:32 -04:00
#else
#define PATH_SEPARATOR ':'
#ifndef STDPATH
-#define STDPATH "/.mailcap:/usr/local/etc/mailcap:/usr/etc/mailcap:/etc/mailcap:/etc/mail/mailcap:/usr/public/lib/mailcap"
+#define STDPATH "/.mailcap:${SYSCONFDIR}/mailcap:/etc/mail/mailcap"
2003-04-26 10:55:32 -04:00
#endif
#endif
#endif