mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 05:52:19 -04:00
mail/opensmtpd
This commit is contained in:
parent
7e0ad495a6
commit
033e117a60
@ -56,6 +56,11 @@ SUBST_MESSAGE.exampledir= Fixing exampledir path
|
|||||||
SUBST_FILES.exampledir= mk/smtpd/Makefile.am
|
SUBST_FILES.exampledir= mk/smtpd/Makefile.am
|
||||||
SUBST_SED.exampledir+= -e 's,@EXAMPLE_DIR@,${EXAMPLEDIR},'
|
SUBST_SED.exampledir+= -e 's,@EXAMPLE_DIR@,${EXAMPLEDIR},'
|
||||||
|
|
||||||
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||||
|
CPPFLAGS+= -D_OPENBSD_SOURCE
|
||||||
|
.endif # ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
|
cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
|
||||||
|
|
||||||
|
@ -9,3 +9,5 @@ SHA1 (patch-mk_makemap_Makefile.am) = 51da0f13b1b32b3c364ae638a38d4b33efaf1ec7
|
|||||||
SHA1 (patch-mk_smtpd_Makefile.am) = ebc62819300d3ddd824178c08a5630ca85dc6fdc
|
SHA1 (patch-mk_smtpd_Makefile.am) = ebc62819300d3ddd824178c08a5630ca85dc6fdc
|
||||||
SHA1 (patch-smtpd_queue__fs.c) = f13d1bf1d26544b3c81e5e2c813d2fe5e917b96b
|
SHA1 (patch-smtpd_queue__fs.c) = f13d1bf1d26544b3c81e5e2c813d2fe5e917b96b
|
||||||
SHA1 (patch-smtpd_smtp__session.c) = f9c034827519a02b97cadb3c034ad1e84abc805a
|
SHA1 (patch-smtpd_smtp__session.c) = f9c034827519a02b97cadb3c034ad1e84abc805a
|
||||||
|
SHA1 (patch-zz-minix-a) = 3c402b4c78c9d44728cabf2ce9193276b56f2989
|
||||||
|
SHA1 (patch-zz-minix-b) = 189bc86f2d6cf93cb6946b6925bab9a65c8b8ac2
|
||||||
|
11
mail/opensmtpd/patches/patch-zz-minix-a
Normal file
11
mail/opensmtpd/patches/patch-zz-minix-a
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- configure.ac.orig Sun Mar 13 17:02:45 2016
|
||||||
|
+++ configure.ac Sun Mar 13 17:08:12 2016
|
||||||
|
@@ -411,7 +411,7 @@
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
-*-*-netbsd*)
|
||||||
|
+ *-*-netbsd*|*-*-minix*)
|
||||||
|
check_for_libcrypt_before=1
|
||||||
|
if test "x$withval" != "xno" ; then
|
||||||
|
need_dash_r=1
|
11
mail/opensmtpd/patches/patch-zz-minix-b
Normal file
11
mail/opensmtpd/patches/patch-zz-minix-b
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- smtpd/queue_fs.c.orig Thu Nov 3 01:23:02 2016
|
||||||
|
+++ smtpd/queue_fs.c Thu Nov 3 01:23:52 2016
|
||||||
|
@@ -32,7 +32,7 @@
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_STATVFS_H
|
||||||
|
#include <sys/statvfs.h>
|
||||||
|
-#ifdef __NetBSD__
|
||||||
|
+#if defined(__minix) || defined(__NetBSD__)
|
||||||
|
#define statfs statvfs
|
||||||
|
#endif
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user