svn commit: r458764 - head/databases/postgresql92-server

Tijl Coosemans tijl at FreeBSD.org
Thu Jan 11 18:31:42 UTC 2018


Author: tijl
Date: Thu Jan 11 18:31:41 2018
New Revision: 458764
URL: https://svnweb.freebsd.org/changeset/ports/458764

Log:
  Convert to USES=autoreconf.

Modified:
  head/databases/postgresql92-server/Makefile

Modified: head/databases/postgresql92-server/Makefile
==============================================================================
--- head/databases/postgresql92-server/Makefile	Thu Jan 11 18:27:52 2018	(r458763)
+++ head/databases/postgresql92-server/Makefile	Thu Jan 11 18:31:41 2018	(r458764)
@@ -156,7 +156,7 @@ SUB_LIST+=	PG_GROUP=${PG_GROUP} \
 
 .if !defined(SLAVE_ONLY)
 .  if ( defined(SERVER_ONLY) && ${PORT_OPTIONS:MICU} ) || make(makesum)
-USE_AUTOTOOLS=	autoconf
+USES+=		autoreconf
 CONFIGURE_ARGS+=--with-icu
 PATCH_SITES+=	http://people.freebsd.org/~girgen/postgresql-icu/:icu
 PATCHFILES+=	${ICU_PATCHFILE}:icu
@@ -237,8 +237,8 @@ PLIST_SUB+=	PG_USER=${PG_USER}
 
 post-patch:
 .  if defined(SERVER_ONLY) && ${PORT_OPTIONS:MICU}
-	@${REINPLACE_CMD} -E -e \
-		"s|^(m4_if.*)2.6[0-9](.*Autoconf version )2.6[0-9]|\1${AUTOCONF_VERSION}\2${AUTOCONF_VERSION}|g" \
+	@${REINPLACE_CMD} \
+		-e '/m4_PACKAGE_VERSION/s/\[2\.6[0-9]\]/m4_defn([m4_PACKAGE_VERSION])/' \
 		-e '/icu/s/_57//' \
 		${WRKSRC}/configure.in
 .  endif


More information about the svn-ports-all mailing list