opensmtpd: fix cross builds
This commit is contained in:
parent
c35b8f24ce
commit
13429618ab
2 changed files with 15 additions and 1 deletions
13
srcpkgs/opensmtpd/patches/configure-cross.patch
Normal file
13
srcpkgs/opensmtpd/patches/configure-cross.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- configure.ac.orig
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -1207,8 +1207,8 @@
|
||||||
|
dnl # stripping any trailing slash. If for some strage reason our program
|
||||||
|
dnl # does not find what it needs, we default to /var/spool/mail.
|
||||||
|
# Check for mail directory
|
||||||
|
-AC_ARG_WITH([path-mbox],
|
||||||
|
- [ --with-path-mbox=PATH Specify path to mbox directory (default=/var/spool/mail)],
|
||||||
|
+AC_ARG_WITH([maildir],
|
||||||
|
+ [ --with-maildir=PATH Specify path to maildir directory (default=/var/spool/mail)],
|
||||||
|
[
|
||||||
|
if test -n "$withval" -a "$withval" != "no" -a "${withval}" != "yes"; then
|
||||||
|
AC_DEFINE_UNQUOTED([MAIL_DIRECTORY], ["$withval"],
|
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'opensmtpd'
|
# Template file for 'opensmtpd'
|
||||||
pkgname=opensmtpd
|
pkgname=opensmtpd
|
||||||
version=6.0.3p1
|
version=6.0.3p1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin
|
||||||
--with-path-socket=/run --with-mantype=doc --with-pie --with-table-db
|
--with-path-socket=/run --with-mantype=doc --with-pie --with-table-db
|
||||||
--with-path-CAfile=/etc/ssl/certs/ca-certificates.crt
|
--with-path-CAfile=/etc/ssl/certs/ca-certificates.crt
|
||||||
|
--with-maildir=/var/mail --without-auth-pam
|
||||||
ac_cv_func_explicit_bzero=no
|
ac_cv_func_explicit_bzero=no
|
||||||
ac_cv_func_reallocarray=no
|
ac_cv_func_reallocarray=no
|
||||||
ac_cv_func_strlcat=no
|
ac_cv_func_strlcat=no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue