On 2019/12/26 01:44, Giovanni Bechis wrote:
> CVSROOT: /cvs
> Module name: ports
> Changes by: [email protected] 2019/12/26 01:44:33
>
> Modified files:
> mail/opensmtpd-extras: Makefile
>
> Log message:
> autohell needs libtoolize(1)
> spotted by ajacoutot@
>
That should be a BUILD_DEPENDS not USE_LIBTOOL, but it's simplest
to use CONFIGURE_STYLE=autoreconf which adds it automatically.
Diff bumps AUTOMAKE_VERSION as well, I don't think the old one
is needed.
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/opensmtpd-extras/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile 26 Dec 2019 08:44:33 -0000 1.31
+++ Makefile 26 Dec 2019 10:10:11 -0000
@@ -13,7 +13,7 @@ PKGNAME-mysql= opensmtpd-extras-mysql-$
PKGNAME-pgsql= opensmtpd-extras-pgsql-${V}
PKGNAME-python= opensmtpd-extras-python-${V}
PKGNAME-redis= opensmtpd-extras-redis-${V}
-REVISION= 1
+REVISION= 2
EPOCH= 0
CATEGORIES= mail
@@ -51,10 +51,9 @@ BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPEND
${MODGNU_AUTOMAKE_DEPENDS}
AUTOCONF_VERSION= 2.69
-AUTOMAKE_VERSION= 1.13
-# bootstrap needs libtoolize
-USE_LIBTOOL= gnu
-CONFIGURE_STYLE= autoconf automake
+AUTOMAKE_VERSION= 1.16
+CONFIGURE_STYLE= autoreconf
+AUTORECONF= sh bootstrap
CONFIGURE_ARGS= --mandir=${PREFIX}/man \
--libexecdir=${PREFIX}/libexec \
--sysconfdir=${SYSCONFDIR}/mail \
@@ -77,9 +76,5 @@ CONFIGURE_ARGS= --mandir=${PREFIX}/man
--with-table-socketmap \
--with-table-sqlite \
--with-table-stub
-
-post-patch:
- cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
- AUTOMAKE_VERSION=${AUTOMAKE_VERSION} sh bootstrap
.include <bsd.port.mk>