Replace USE_AUTOTOOLS=autoconf with a BUILD_DEPENDS on autoconf and run

autoconf from pre-configure.  USES=autoreconf cannot be used because of
upstream modifications (e.g. custom ltmain.sh).
This commit is contained in:
Tijl Coosemans 2018-01-14 21:37:08 +00:00
parent ce3d145e30
commit c4a89e3c29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459003

View file

@ -508,8 +508,8 @@ EXTRA_PATCHES+= ${FILESDIR}/extrapatch-outlook-servers__slapd__schema_prep.c
.endif .endif
.if ${PORT_OPTIONS:MKQUEUE} .if ${PORT_OPTIONS:MKQUEUE}
BUILD_DEPENDS+= autoconf>0:devel/autoconf
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-ITS6300 EXTRA_PATCHES+= ${FILESDIR}/extrapatch-ITS6300
USE_AUTOTOOLS= autoconf
.endif .endif
# end of client/server specific configuration # end of client/server specific configuration
@ -565,6 +565,9 @@ pre-configure:
${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
${FALSE}; \ ${FALSE}; \
fi fi
.if ${PORT_OPTIONS:MKQUEUE}
@(cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf)
.endif
.if !defined(CLIENT_ONLY) .if !defined(CLIENT_ONLY)
test: build test: build