mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/opensmtpd-extras: fix build with automake 1.17
This commit is contained in:
parent
df4f699635
commit
1503b272a0
@ -3,7 +3,7 @@
|
|||||||
pkgname=opensmtpd-extras
|
pkgname=opensmtpd-extras
|
||||||
_pkgname=OpenSMTPD-extras
|
_pkgname=OpenSMTPD-extras
|
||||||
pkgver=6.7.1
|
pkgver=6.7.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="OpenSMTPD addons"
|
pkgdesc="OpenSMTPD addons"
|
||||||
url="https://opensmtpd.org/"
|
url="https://opensmtpd.org/"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -23,6 +23,7 @@ source="https://github.com/OpenSMTPD/$_pkgname/archive/$pkgver/opensmtpd-extras-
|
|||||||
0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
|
0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
|
||||||
0002-wrap-stdint.h-in-autoconf-variables.patch
|
0002-wrap-stdint.h-in-autoconf-variables.patch
|
||||||
remove-decls.patch
|
remove-decls.patch
|
||||||
|
add-automake-17.patch
|
||||||
"
|
"
|
||||||
builddir="$srcdir/$_pkgname-$pkgver"
|
builddir="$srcdir/$_pkgname-$pkgver"
|
||||||
options="!check" # upstream does not provide tests
|
options="!check" # upstream does not provide tests
|
||||||
@ -83,7 +84,10 @@ _package_extra() {
|
|||||||
mv "$pkgdir"/usr/lib/opensmtpd/$name "$subpkgdir"/usr/lib/opensmtpd/
|
mv "$pkgdir"/usr/lib/opensmtpd/$name "$subpkgdir"/usr/lib/opensmtpd/
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="3f7b3b050f2fb499a880dce7c6a89c2ff8332f9c32c4539fb12c63997263ba7b032b72b9937126654862e5fa81013acc176a7a84147bf027e99ea5c081519247 opensmtpd-extras-6.7.1.tar.gz
|
sha512sums="
|
||||||
|
3f7b3b050f2fb499a880dce7c6a89c2ff8332f9c32c4539fb12c63997263ba7b032b72b9937126654862e5fa81013acc176a7a84147bf027e99ea5c081519247 opensmtpd-extras-6.7.1.tar.gz
|
||||||
2e12845233437bef691ef92a2b4ffcc307b7cd72ec61b2063604034e28266550940ed432ef66a871fe82030df68b01cdd50ac97a255bf7724ab62a43d45ca4e5 0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
|
2e12845233437bef691ef92a2b4ffcc307b7cd72ec61b2063604034e28266550940ed432ef66a871fe82030df68b01cdd50ac97a255bf7724ab62a43d45ca4e5 0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
|
||||||
df6f52669e1df3d2b134fa8ec99795b0cef3f6aa38ccb5f85def240370b487988d6576fb769dee7d3eba30cfb291298b1c5a22433f4e6243307c589a7bbdb538 0002-wrap-stdint.h-in-autoconf-variables.patch
|
df6f52669e1df3d2b134fa8ec99795b0cef3f6aa38ccb5f85def240370b487988d6576fb769dee7d3eba30cfb291298b1c5a22433f4e6243307c589a7bbdb538 0002-wrap-stdint.h-in-autoconf-variables.patch
|
||||||
36efd3b6cf75728cc8b75b3d9d6bf464d1e949ccfbe6151ed53dbba0f9ee1e50eb61afcca05af302ab359bc9ea1136e7750a15e5f5b824899141298d3060782a remove-decls.patch"
|
36efd3b6cf75728cc8b75b3d9d6bf464d1e949ccfbe6151ed53dbba0f9ee1e50eb61afcca05af302ab359bc9ea1136e7750a15e5f5b824899141298d3060782a remove-decls.patch
|
||||||
|
5e7341afb384891739173966726ed6f10b92303a545fa075cf5c1a35baf79141e66f2029e502281847617ea98e4a80771a3da5cbd2829ced4d3bb2c51fed9218 add-automake-17.patch
|
||||||
|
"
|
||||||
|
29
community/opensmtpd-extras/add-automake-17.patch
Normal file
29
community/opensmtpd-extras/add-automake-17.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
diff --git a/bootstrap b/bootstrap
|
||||||
|
index 60ad57a..bc03303 100755
|
||||||
|
--- a/bootstrap
|
||||||
|
+++ b/bootstrap
|
||||||
|
@@ -36,7 +36,7 @@ aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/n
|
||||||
|
|
||||||
|
# Check for automake
|
||||||
|
amvers="no"
|
||||||
|
-for v in 16 15 14 13; do
|
||||||
|
+for v in 17 16 15 14 13; do
|
||||||
|
if automake-1.${v} --version >/dev/null 2>&1; then
|
||||||
|
amvers="-1.${v}"
|
||||||
|
break
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 036fc99..a89f286 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -312,7 +312,10 @@ esac
|
||||||
|
AM_CONDITIONAL([NO_LIBASR], [test x$asr_in_libc = x1])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([compiler and flags for sanity])
|
||||||
|
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> ]], [[ exit(0); ]])],
|
||||||
|
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
+ #include <stdio.h>
|
||||||
|
+ #include <stdlib.h>
|
||||||
|
+ ]], [[ exit(0); ]])],
|
||||||
|
[ AC_MSG_RESULT([yes]) ],
|
||||||
|
[
|
||||||
|
AC_MSG_RESULT([no])
|
Loading…
Reference in New Issue
Block a user