Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 18:31:41 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458764 - head/databases/postgresql92-server
Message-ID:  <201801111831.w0BIVfHv065546@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111831.w0BIVfHv065546>