svn commit: r459003 - head/net/openldap24-server

Tijl Coosemans tijl at FreeBSD.org
Sun Jan 14 21:37:10 UTC 2018


Author: tijl
Date: Sun Jan 14 21:37:08 2018
New Revision: 459003
URL: https://svnweb.freebsd.org/changeset/ports/459003

Log:
  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).

Modified:
  head/net/openldap24-server/Makefile

Modified: head/net/openldap24-server/Makefile
==============================================================================
--- head/net/openldap24-server/Makefile	Sun Jan 14 21:23:13 2018	(r459002)
+++ head/net/openldap24-server/Makefile	Sun Jan 14 21:37:08 2018	(r459003)
@@ -508,8 +508,8 @@ EXTRA_PATCHES+=		${FILESDIR}/extrapatch-outlook-server
 .endif
 
 .if ${PORT_OPTIONS:MKQUEUE}
+BUILD_DEPENDS+=		autoconf>0:devel/autoconf
 EXTRA_PATCHES+=		${FILESDIR}/extrapatch-ITS6300
-USE_AUTOTOOLS=		autoconf
 .endif
 
 # 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."; \
 		${FALSE}; \
 	fi
+.if ${PORT_OPTIONS:MKQUEUE}
+	@(cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf)
+.endif
 
 .if !defined(CLIENT_ONLY)
 test: build


More information about the svn-ports-all mailing list