Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2020 04:41:31 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538197 - in head: archivers/rpm4 audio/pianod2 databases/cassandra3 databases/couchdb2 databases/tarantool devel/etl devel/libappindicator devel/libappindicator/files devel/synfig deve...
Message-ID:  <202006080441.0584fVX2056865@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Mon Jun  8 04:41:31 2020
New Revision: 538197
URL: https://svnweb.freebsd.org/changeset/ports/538197

Log:
  Multiple ports: improve regex compliance
  
  These changes largely fall into just two categories:
  
  1. Need textproc/gsed for GNU extensions
  2. Extraneous escapes that can go away
  
  For #1, there's a further subdivision into those that require autoconf magic
  and those that can get away with BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed.
  -CURRENT will soon gain GNU extensions, but these will take longer to get to
  all supported releases; we must switch them to gsed to ensure we're actually
  properly building them as intended.
  
  For #2, I've fixed these as I can and we should upstream these fixes.
  
  PORTREVISION is bumped for all of the above, because we will almost
  certainly build these differently when the replacements actually start
  working.
  
  These were all detected by the below-referenced exp-run [1]. The patch
  included forbids many ordinary characters from being escaped, since we'll
  later imbue those with special meanings. This has had the nice side effect
  of picking up various things that we didn't handle properly, e.g. \t and \r
  for tab and carriage return.
  
  PR:		229925 [1]
  Approved by:	koobs (mentor)
  Approved by:	portmgr (blanket: trivial build fixes)
  MFH:		no (invasive risk)
  Differential Revision:	https://reviews.freebsd.org/D25185

Added:
  head/graphics/ftgl/files/
  head/graphics/ftgl/files/patch-configure   (contents, props changed)
  head/math/p5-NetCDF/files/patch-port_master.mk.in   (contents, props changed)
  head/net-mgmt/docsis/files/patch-doc_generate-settings.sh   (contents, props changed)
Modified:
  head/archivers/rpm4/Makefile
  head/audio/pianod2/Makefile
  head/databases/cassandra3/Makefile
  head/databases/couchdb2/Makefile
  head/databases/tarantool/Makefile
  head/devel/etl/Makefile
  head/devel/libappindicator/Makefile
  head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am
  head/devel/synfig/Makefile
  head/devel/zziplib/Makefile
  head/dns/knot2/Makefile
  head/graphics/synfigstudio/Makefile
  head/java/openjdk11/Makefile
  head/java/openjdk12/Makefile
  head/java/openjdk13/Makefile
  head/multimedia/vlc/Makefile
  head/print/pdflib/Makefile
  head/print/pdflib/files/patch-configure
  head/security/amavisd-new/Makefile
  head/sysutils/cinnamon-control-center/Makefile
  head/sysutils/cinnamon-settings-daemon/Makefile
  head/sysutils/conky/Makefile
  head/sysutils/minipro/Makefile
  head/textproc/sphinxsearch/Makefile
  head/x11/evilvte/Makefile

Modified: head/archivers/rpm4/Makefile
==============================================================================
--- head/archivers/rpm4/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/archivers/rpm4/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rpm
 PORTVERSION=	4.15.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	archivers
 MASTER_SITES=	http://ftp.rpm.org/releases/rpm-4.15.x/
 PKGNAMESUFFIX=	4
@@ -14,6 +14,7 @@ COMMENT=	Red Hat Package Manager
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	gsed:textproc/gsed
 LIB_DEPENDS=	libpopt.so:devel/popt \
 		libnss3.so:security/nss \
 		libzstd.so:archivers/zstd
@@ -25,6 +26,7 @@ USES=		alias bdb compiler:openmp gmake iconv libarchiv
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 SHEBANG_FILES=	scripts/brp-python-bytecompile scripts/check-prereqs \
 		scripts/check-rpaths-worker scripts/pythondeps.sh \
 		scripts/pkgconfigdeps.sh scripts/fontconfig.prov \

Modified: head/audio/pianod2/Makefile
==============================================================================
--- head/audio/pianod2/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/audio/pianod2/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pianod2
 PORTVERSION=	329
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://deviousfish.com/Downloads/pianod2/Devel/
 
@@ -14,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_i386=	fails to build
 
+BUILD_DEPENDS=	gsed:textproc/gsed
 LIB_DEPENDS=	libao.so:audio/libao \
 	libavcodec.so:multimedia/ffmpeg \
 	libgcrypt.so:security/libgcrypt \
@@ -38,6 +40,7 @@ GNU_CONFIGURE=	yes
 SHEBANG_FILES=	contrib/piano contrib/runmix
 ksh_CMD=	${LOCALBASE}/bin/mksh
 
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--with-compression \
 	--with-accesscontrol \
 	--with-engine=gstreamer \

Modified: head/databases/cassandra3/Makefile
==============================================================================
--- head/databases/cassandra3/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/databases/cassandra3/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -2,6 +2,7 @@
 
 PORTNAME=	cassandra
 DISTVERSION=	3.11.6
+PORTREVISION=	1
 CATEGORIES=	databases java
 MASTER_SITES=	APACHE/cassandra/${PORTVERSION}:apache \
 		LOCAL/yuri:repo
@@ -88,11 +89,11 @@ post-build:
 .for f in ${SCRIPT_FILES}
 	@${REINPLACE_CMD} -e 's|/usr/share/cassandra|${DATADIR}/bin|' ${DIST_DIR}/bin/${f}
 .endfor
-	@${REINPLACE_CMD} -e 's|\`dirname "\$$\0"\`/..|${DATADIR}|' ${DIST_DIR}/bin/cassandra.in.sh
-	@${REINPLACE_CMD} -e 's|\$$\CASSANDRA_HOME/lib/sigar-bin|${JAVAJARDIR}|' ${DIST_DIR}/bin/cassandra.in.sh
-	@${REINPLACE_CMD} -e 's|\$$\CASSANDRA_HOME/lib/sigar-bin|${JAVAJARDIR}|' ${DIST_DIR}/conf/cassandra-env.sh
-	@${REINPLACE_CMD} -e 's|\$$\CASSANDRA_HOME/conf|${ETCDIR}|' ${DIST_DIR}/bin/cassandra.in.sh
-	@${REINPLACE_CMD} -e 's|\$$\CASSANDRA_HOME/conf|${ETCDIR}|' ${DIST_DIR}/conf/cassandra-env.sh
+	@${REINPLACE_CMD} -e 's|`dirname "$$0"`/..|${DATADIR}|' ${DIST_DIR}/bin/cassandra.in.sh
+	@${REINPLACE_CMD} -e 's|$$CASSANDRA_HOME/lib/sigar-bin|${JAVAJARDIR}|' ${DIST_DIR}/bin/cassandra.in.sh
+	@${REINPLACE_CMD} -e 's|$$CASSANDRA_HOME/lib/sigar-bin|${JAVAJARDIR}|' ${DIST_DIR}/conf/cassandra-env.sh
+	@${REINPLACE_CMD} -e 's|$$CASSANDRA_HOME/conf|${ETCDIR}|' ${DIST_DIR}/bin/cassandra.in.sh
+	@${REINPLACE_CMD} -e 's|$$CASSANDRA_HOME/conf|${ETCDIR}|' ${DIST_DIR}/conf/cassandra-env.sh
 .for f in ${CONFIG_FILES}
 	@${MV} ${DIST_DIR}/conf/${f} ${DIST_DIR}/conf/${f}.sample
 .endfor

Modified: head/databases/couchdb2/Makefile
==============================================================================
--- head/databases/couchdb2/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/databases/couchdb2/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	couchdb2
 DISTVERSION=	2.3.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	databases
 MASTER_SITES=	APACHE/couchdb/source/${DISTVERSION}
 DISTNAME=	apache-couchdb-${DISTVERSION}
@@ -60,8 +60,8 @@ post-patch:
 	    -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
 	    -e 's,%%PORTNAME%%,${PORTNAME},g' \
 	    -e 's,%%WWWDIR%%,${WWWDIR},g' \
-	    -e 's,\$COUCHDB_USER,${USERS},g' \
-	    -e 's,\$LOG_FILE,${LOGFILE},g' \
+	    -e 's,$$COUCHDB_USER,${USERS},g' \
+	    -e 's,$$LOG_FILE,${LOGFILE},g' \
 	    ${WRKSRC}/configure
 
 pre-install:

Modified: head/databases/tarantool/Makefile
==============================================================================
--- head/databases/tarantool/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/databases/tarantool/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tarantool
 PORTVERSION=	2.3.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	databases
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 NOT_FOR_ARCHS=		armv6 powerpc64 sparc64
 NOT_FOR_ARCHS_REASON=	fails to build: Unsupported architecture
 
+BUILD_DEPENDS=	gsed:textproc/gsed
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libicui18n.so:devel/icu \
 		libmsgpuck.so:devel/msgpuck \
@@ -24,6 +25,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 USES=		cmake:noninja compiler:c++11-lang gettext-runtime gmake iconv perl5 readline ssl
 USE_PERL5=	build
 
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CMAKE_ARGS=	-DCMAKE_INSTALL_FULL_SYSCONFDIR=${ETCDIR} \
 		-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
 		-DCMAKE_INSTALL_MANDIR=${PREFIX}/man

Modified: head/devel/etl/Makefile
==============================================================================
--- head/devel/etl/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/devel/etl/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -4,6 +4,7 @@
 PORTNAME=	etl
 PORTVERSION=	1.2.2
 DISTVERSIONPREFIX=v
+PORTREVISION=	1
 CATEGORIES=	devel lang
 
 MAINTAINER=	woodsb02@FreeBSD.org
@@ -11,6 +12,8 @@ COMMENT=	Voria Extended Class and Template Library
 
 LICENSE=	GPLv2+
 
+BUILD_DEPENDS=	gsed:textproc/gsed
+
 NO_ARCH=	yes
 PORTSCOUT=	limitw:1,even
 
@@ -22,6 +25,8 @@ GH_PROJECT=	synfig
 WRKSRC_SUBDIR=	ETL
 
 OPTIONS_DEFINE=	DOCS
+
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/devel/libappindicator/Makefile
==============================================================================
--- head/devel/libappindicator/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/devel/libappindicator/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libappindicator
 PORTVERSION=	${MAJOR_VER}.${SNAPSHOT_VER:S/.//g}.${PATCH_VER:S/ubuntu//}
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://archive.ubuntu.com/ubuntu/pool/main/liba/${PORTNAME}/
 DISTNAME=	${PORTNAME}_${MAJOR_VER}+${SNAPSHOT_VER}.orig
@@ -17,7 +18,8 @@ LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	gnome-autogen.sh:devel/gnome-common \
-		gtkdocize:textproc/gtk-doc
+		gtkdocize:textproc/gtk-doc \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
 		libdbusmenu-gtk3.so:devel/libdbusmenu
 
@@ -32,7 +34,6 @@ OPTIONS_SUB=		yes
 VAPI_BUILD_DEPENDS=	vala>=0:lang/vala
 VAPI_CONFIGURE_ENV_OFF=	ac_cv_path_VALA_API_GEN= \
 			ac_cv_path_VALAC=
-VAPI_VARS=		EXTRA_PATCHES+=${PATCHDIR}/extra-patch-bindings_vala_examples_Makefile.am
 
 NO_WRKSUBDIR=	yes
 
@@ -40,6 +41,7 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-gtk-doc \
 		--with-gtk=3
 INSTALL_TARGET=	install-strip
+CONFIGURE_ENV+=	ac_cv_path_SED=${LOCALBASE}/bin/gsed
 
 MAJOR_VER=	12.10.1
 SNAPSHOT_VER=	18.04.20180322.1

Modified: head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am
==============================================================================
--- head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am	Mon Jun  8 04:41:31 2020	(r538197)
@@ -1,11 +0,0 @@
---- bindings/vala/examples/Makefile.am.orig	2018-03-22 01:15:43 UTC
-+++ bindings/vala/examples/Makefile.am
-@@ -18,7 +18,7 @@ BUILT_SOURCES = indicator-example.c
- 
- indicator-example.c: $(VALAFILES) Makefile.am
- 	$(VALAC) $(VALAFLAGS) -C $< -o $@
--	$(SED) -i "s|#include\s*<\s*libappindicator/app-indicator.h\s*>||g" $@
-+	$(SED) -i '' "s|#include\s*<\s*libappindicator/app-indicator.h\s*>||g" $@
- 
- nodist_indicator_example_SOURCES = indicator-example.c
- indicator_example_CFLAGS = \

Modified: head/devel/synfig/Makefile
==============================================================================
--- head/devel/synfig/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/devel/synfig/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -4,7 +4,7 @@
 PORTNAME=	synfig
 PORTVERSION=	1.2.2
 DISTVERSIONPREFIX=v
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel graphics multimedia
 
 MAINTAINER=	woodsb02@FreeBSD.org
@@ -39,6 +39,8 @@ USE_GNOME=	cairo glibmm intltool libxml++26 pango
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
 CONFIGURE_ENV+=	ac_cv_path_SED=${LOCALBASE}/bin/gsed
+# Other spurious uses of direct sed have popped up
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 WRKSRC_SUBDIR=	synfig-core

Modified: head/devel/zziplib/Makefile
==============================================================================
--- head/devel/zziplib/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/devel/zziplib/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -4,6 +4,7 @@
 PORTNAME=	zziplib
 DISTVERSIONPREFIX=	v
 PORTVERSION=	0.13.71
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -14,7 +15,8 @@ LICENSE_COMB=	dual
 LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LIB
 LICENSE_FILE_MPL11=	${WRKSRC}/docs/COPYING.MPL
 
-BUILD_DEPENDS=	zip:archivers/zip
+BUILD_DEPENDS=	gsed:textproc/gsed \
+		zip:archivers/zip
 
 USES=		libtool pathfix pkgconfig
 

Modified: head/dns/knot2/Makefile
==============================================================================
--- head/dns/knot2/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/dns/knot2/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	knot
 DISTVERSION=	2.9.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns
 MASTER_SITES=	https://secure.nic.cz/files/knot-dns/ \
 		https://dns.company/downloads/knot-dns/
@@ -17,7 +17,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 CONFLICTS=	knot-1.* knot1-[0-6].*
 
-BUILD_DEPENDS=	autoconf>=2.65:devel/autoconf
+BUILD_DEPENDS=	autoconf>=2.65:devel/autoconf \
+		gsed:textproc/gsed
 
 LIB_DEPENDS=	libgnutls.so:security/gnutls \
 		liblmdb.so:databases/lmdb
@@ -25,6 +26,7 @@ LIB_DEPENDS=	libgnutls.so:security/gnutls \
 USES=		alias libtool localbase pkgconfig tar:xz
 
 HAS_CONFIGURE=	yes
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--enable-recvmmsg=no \
 		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
 		--mandir=${MANPREFIX}/man

Added: head/graphics/ftgl/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/ftgl/files/patch-configure	Mon Jun  8 04:41:31 2020	(r538197)
@@ -0,0 +1,11 @@
+--- configure.orig	2019-09-25 00:59:19 UTC
++++ configure
+@@ -23739,7 +23739,7 @@ GLUT_X_LIBS=
+ { echo "$as_me:$LINENO: checking for a TrueType font on the system" >&5
+ echo $ECHO_N "checking for a TrueType font on the system... $ECHO_C" >&6; }
+ 
+-FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*\file:[^"]*"\([^"]*\)".*/\1/p' | sed q`"
++FONT_FILE="`fc-match -sv serif 2>/dev/null| sed -ne 's/.*file:[^"]*"\([^"]*\)".*/\1/p' | sed q`"
+ 
+ if test "$FONT_FILE" = ""; then
+     for font in \

Modified: head/graphics/synfigstudio/Makefile
==============================================================================
--- head/graphics/synfigstudio/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/graphics/synfigstudio/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -4,7 +4,7 @@
 PORTNAME=	synfigstudio
 PORTVERSION=	1.2.2
 DISTVERSIONPREFIX=v
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics multimedia
 
 MAINTAINER=	woodsb02@FreeBSD.org
@@ -12,7 +12,8 @@ COMMENT=	Vector-based 2D animation software package
 
 LICENSE=	GPLv2+
 
-BUILD_DEPENDS=	etl>=1.2.2:devel/etl
+BUILD_DEPENDS=	etl>=1.2.2:devel/etl \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libHalf.so:graphics/ilmbase \
 		libIlmImf.so:graphics/openexr \
 		libMagick++-6.so:graphics/ImageMagick6 \
@@ -35,6 +36,7 @@ WRKSRC_SUBDIR=	synfig-studio
 USE_CXXSTD=	c++11
 USE_GNOME=	gtkmm30 intltool
 GNU_CONFIGURE=	yes
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--disable-update-mimedb
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes

Modified: head/java/openjdk11/Makefile
==============================================================================
--- head/java/openjdk11/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/java/openjdk11/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,6 +3,7 @@
 PORTNAME=	openjdk
 DISTVERSIONPREFIX=	jdk-
 DISTVERSION=	${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
+PORTREVISION=	1
 CATEGORIES=	java devel
 PKGNAMESUFFIX?=	${JDK_MAJOR_VERSION}
 
@@ -16,7 +17,8 @@ ONLY_FOR_ARCHS=	amd64 i386 powerpc64
 BUILD_DEPENDS=	zip:archivers/zip \
 		autoconf>0:devel/autoconf \
 		${LOCALBASE}/include/cups/cups.h:print/cups \
-		bash:shells/bash
+		bash:shells/bash \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
@@ -61,7 +63,8 @@ BSD_JDK_VERSION=	2
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CC=${CC} \
 		CXX=${CXX} \
-		CPP=${CPP}
+		CPP=${CPP} \
+		ac_cv_path_SED=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--with-boot-jdk=${BOOTSTRAPJDKDIR} \
 		--disable-ccache \
 		--disable-javac-server \

Modified: head/java/openjdk12/Makefile
==============================================================================
--- head/java/openjdk12/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/java/openjdk12/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,6 +3,7 @@
 PORTNAME=	openjdk
 DISTVERSIONPREFIX=	jdk-
 DISTVERSION=	${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
+PORTREVISION=	1
 CATEGORIES=	java devel
 PKGNAMESUFFIX?=	${JDK_MAJOR_VERSION}
 
@@ -16,7 +17,8 @@ ONLY_FOR_ARCHS=	amd64 i386 powerpc64
 BUILD_DEPENDS=	zip:archivers/zip \
 		autoconf>0:devel/autoconf \
 		${LOCALBASE}/include/cups/cups.h:print/cups \
-		bash:shells/bash
+		bash:shells/bash \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
@@ -61,7 +63,8 @@ BSD_JDK_VERSION=	4
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CC=${CC} \
 		CXX=${CXX} \
-		CPP=${CPP}
+		CPP=${CPP} \
+		ac_cv_path_SED=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--with-boot-jdk=${BOOTSTRAPJDKDIR} \
 		--disable-ccache \
 		--disable-javac-server \

Modified: head/java/openjdk13/Makefile
==============================================================================
--- head/java/openjdk13/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/java/openjdk13/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,6 +3,7 @@
 PORTNAME=	openjdk
 DISTVERSIONPREFIX=	jdk-
 DISTVERSION=	${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
+PORTREVISION=	1
 CATEGORIES=	java devel
 PKGNAMESUFFIX?=	${JDK_MAJOR_VERSION}
 
@@ -16,7 +17,8 @@ ONLY_FOR_ARCHS=	amd64 i386 powerpc64
 BUILD_DEPENDS=	zip:archivers/zip \
 		autoconf>0:devel/autoconf \
 		${LOCALBASE}/include/cups/cups.h:print/cups \
-		bash:shells/bash
+		bash:shells/bash \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
@@ -61,7 +63,8 @@ BSD_JDK_VERSION=	1
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CC=${CC} \
 		CXX=${CXX} \
-		CPP=${CPP}
+		CPP=${CPP} \
+		ac_cv_path_SED=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--with-boot-jdk=${BOOTSTRAPJDKDIR} \
 		--disable-ccache \
 		--disable-javac-server \

Added: head/math/p5-NetCDF/files/patch-port_master.mk.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-NetCDF/files/patch-port_master.mk.in	Mon Jun  8 04:41:31 2020	(r538197)
@@ -0,0 +1,16 @@
+--- port/master.mk.in.orig	2019-09-25 01:28:25 UTC
++++ port/master.mk.in
+@@ -426,11 +426,11 @@ $(MANDIR)/dummy.man $(MANDIR)/$(MANUAL):	$(MANDIR) $(M
+ 	case `uname -s` in \
+ 	    OSF1*|IRIX*|HP-UX) \
+ 		sed \
+-     -e '/^\.TH/s/$$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$$/\1-\2-\3/'\
++     -e '/^\.TH/s/$$Date: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*$$/\1-\2-\3/'\
+ 		 $(MANUAL) > $@;; \
+ 	    *) \
+ 		sed \
+-     -e '/^\.TH/s/$$D\ate: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*\$$/\1-\2-\3/'\
++     -e '/^\.TH/s/$$Date: \([0-9]*\)\/\([0-9]*\)\/\([0-9]*\).*$$/\1-\2-\3/'\
+ 		 $(MANUAL) | $(TBL) | $(NEQN) > $@;; \
+ 	esac
+ 	extension=`echo $(MANUAL) | sed 's/[^.]*\.//'`; \

Modified: head/multimedia/vlc/Makefile
==============================================================================
--- head/multimedia/vlc/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/multimedia/vlc/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	vlc
 DISTVERSION=	3.0.10
-PORTREVISION=	5
+PORTREVISION=	6
 PORTEPOCH=	4
 CATEGORIES=	multimedia audio net www
 MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
@@ -21,7 +21,8 @@ LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 		libfreetype.so:print/freetype2 \
 		libidn.so:dns/libidn \
 		libmatroska.so:multimedia/libmatroska
-BUILD_DEPENDS=	ffmpeg>=3.4.1,1:multimedia/ffmpeg \
+BUILD_DEPENDS=	gsed:textproc/gsed \
+		ffmpeg>=3.4.1,1:multimedia/ffmpeg \
 		yasm:devel/yasm
 RUN_DEPENDS=	ffmpeg>=3.4.1,1:multimedia/ffmpeg
 
@@ -39,6 +40,7 @@ USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
 GNU_CONFIGURE=	yes
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--enable-avcodec --enable-avformat --enable-dvbpsi \
 		--enable-fontconfig --enable-freetype --enable-libgcrypt \
 		--enable-libxml2 --enable-oss --enable-postproc \

Added: head/net-mgmt/docsis/files/patch-doc_generate-settings.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/docsis/files/patch-doc_generate-settings.sh	Mon Jun  8 04:41:31 2020	(r538197)
@@ -0,0 +1,20 @@
+--- doc/generate-settings.sh.orig	2019-09-25 00:51:22 UTC
++++ doc/generate-settings.sh
+@@ -33,13 +33,13 @@ grep -e "^{" ../src/docsis_symtable.h \
+ 	| grep -v "*" \
+ 	| grep -v "decode_md5" \
+ 	| awk '{print $5 "_" $3 " " $7 " " $8 " " $9}' \
+-	| sed 's/\"//g' \
++	| sed 's/"//g' \
+ 	| sed 's/^0,_//g' \
+ 	| sed 's/^[0-9]*,_/\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;/g' \
+-	| sed 's/\decode_//g' \
+-	| sed 's/\ //g' | tr -s "\(\)" "%%" \
++	| sed 's/decode_//g' \
++	| sed 's/ //g' | tr -s "\(\)" "%%" \
+ 	| sed 's/^/<tr><td><b>/g' \
+-	| sed 's/,\%/<\/b><\/td><td>/g' \
++	| sed 's/,%/<\/b><\/td><td>/g' \
+ 	| sed 's/%,/<\/td><td>/g' \
+ 	| sed 's/,/-/g' \
+ 	| sed 's/$/<\/td><\/tr>/g'\

Modified: head/print/pdflib/Makefile
==============================================================================
--- head/print/pdflib/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/print/pdflib/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pdflib
 PORTVERSION=	7.0.5
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	print perl5 java
 MASTER_SITES=	LOCAL/ale
 DISTNAME=	PDFlib-Lite-${PORTVERSION}p3
@@ -11,6 +11,8 @@ DISTNAME=	PDFlib-Lite-${PORTVERSION}p3
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	C library for dynamically generating PDF
 
+BUILD_DEPENDS=	gsed:textproc/gsed
+
 RESTRICTED=	Many odd restrictions on usage and distribution
 
 OPTIONS_DEFINE=	PERL JAVA DOCS
@@ -20,6 +22,7 @@ JAVA_DESC=	Build Java bindings
 USES=		gmake libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 CONFIGURE_ARGS=	--with-py=no --with-ruby=no --with-tcl=no
 
 PORTDOCS=	*

Modified: head/print/pdflib/files/patch-configure
==============================================================================
--- head/print/pdflib/files/patch-configure	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/print/pdflib/files/patch-configure	Mon Jun  8 04:41:31 2020	(r538197)
@@ -13,8 +13,8 @@
  	aix*|AIX*)   PERLLINK="-L$PERLINCLUDE -lperl $PERLLINK";;
  	osf1*|OSF1*) PERLLINK="-L$PERLINCLUDE -lperl $PERLLINK";;
  	darwin|Darwin*) PERLLINK="-L$PERLINCLUDE -lperl $PERLLINK";;
-+	dragonfly|DragonFly*) PERLLINK=`perl -V:lddlflags|sed -e "s|.*=\'\(.*\)\';|\1|"`;;
-+	freebsd|FreeBSD*) PERLLINK=`perl -V:lddlflags|sed -e "s|.*=\'\(.*\)\';|\1|"`;;
++	dragonfly|DragonFly*) PERLLINK=`perl -V:lddlflags|sed -e "s|.*='\(.*\)';|\1|"`;;
++	freebsd|FreeBSD*) PERLLINK=`perl -V:lddlflags|sed -e "s|.*='\(.*\)';|\1|"`;;
  	*) ;;
      esac
  

Modified: head/security/amavisd-new/Makefile
==============================================================================
--- head/security/amavisd-new/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/security/amavisd-new/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -2,6 +2,7 @@
 
 PORTNAME=	amavisd-new
 PORTVERSION=	2.12.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	https://gitlab.com/amavis/amavis/-/archive/v${PORTVERSION}/
@@ -211,8 +212,8 @@ RUN_DEPENDS+=	${LOCALBASE}/bin/tnef:converters/tnef
 .include <bsd.port.pre.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|$daemon_user  = \'vscan\';|$daemon_user  = \'${AMAVISUSER}\';|" \
-			-e "s|$daemon_group = \'vscan\';|$daemon_group = \'${AMAVISGROUP}\';|" \
+	@${REINPLACE_CMD} -e "s|$$daemon_user  = 'vscan';|$$daemon_user  = '${AMAVISUSER}';|" \
+			-e "s|$$daemon_group = 'vscan';|$$daemon_group = '${AMAVISGROUP}';|" \
 			-e "s|/var/amavis|${AMAVISDIR}|" \
 			-e "s|/var/lib/amavis|${AMAVISDIR}|" \
 			-e "s|/var/virusmails|${AMAVISQUARANTINE}|" \

Modified: head/sysutils/cinnamon-control-center/Makefile
==============================================================================
--- head/sysutils/cinnamon-control-center/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/sysutils/cinnamon-control-center/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cinnamon-control-center
 PORTVERSION=	2.4.2
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/9363a4a1e121344ae98f22b55fb28623cf0f6038/panels/datetime/data/:tzpng
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -15,7 +15,8 @@ COMMENT=	Control center for Cinnamon
 
 BUILD_DEPENDS=	ca_root_nss>=0:security/ca_root_nss \
 		cinnamon-settings-daemon>=0:sysutils/cinnamon-settings-daemon \
-		gnome-autogen.sh:devel/gnome-common
+		gnome-autogen.sh:devel/gnome-common \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libstartup-notification-1.so:x11/startup-notification \
 		libupower-glib.so:sysutils/upower \
 		libcheese.so:multimedia/cheese \
@@ -49,6 +50,7 @@ INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--enable-compile-warnings=no
+CONFIGURE_ENV+=ac_cv_path_SED=${LOCALBASE}/bin/gsed
 CFLAGS+=	-I${LOCALBASE}/include
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib

Modified: head/sysutils/cinnamon-settings-daemon/Makefile
==============================================================================
--- head/sysutils/cinnamon-settings-daemon/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/sysutils/cinnamon-settings-daemon/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cinnamon-settings-daemon
 PORTVERSION=	2.4.3
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	sysutils gnome
 DIST_SUBDIR=	gnome3
 
@@ -13,7 +13,8 @@ COMMENT=	GNOME 3 settings daemon
 BUILD_DEPENDS=	cinnamon-session:x11/cinnamon-session \
 		gnome-autogen.sh:devel/gnome-common \
 		gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
-		docbook-xsl>=0:textproc/docbook-xsl
+		docbook-xsl>=0:textproc/docbook-xsl \
+		gsed:textproc/gsed
 LIB_DEPENDS=	libcanberra-gtk3.so:audio/libcanberra-gtk3 \
 		libpolkit-gobject-1.so:sysutils/polkit \
 		libibus-1.0.so:textproc/ibus \
@@ -33,6 +34,7 @@ USE_GNOME=	gnomeprefix intlhack libgnomekbd \
 USE_GITHUB=	yes
 GH_ACCOUNT=	linuxmint
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	ac_cv_path_SED=${LOCALBASE}/bin/gsed
 INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--disable-gudev \

Modified: head/sysutils/conky/Makefile
==============================================================================
--- head/sysutils/conky/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/sysutils/conky/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -4,7 +4,7 @@
 PORTNAME=	conky
 PORTVERSION=	1.11.5
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 
 MAINTAINER=	madpilot@FreeBSD.org
@@ -13,7 +13,8 @@ COMMENT?=	Advanced, highly configurable system monitor
 LIB_DEPENDS=	libinotify.so:devel/libinotify
 BUILD_DEPENDS=	db2x_xsltproc:textproc/docbook2X \
 		docbook-xsl>=0:textproc/docbook-xsl \
-		xsltproc:textproc/libxslt
+		xsltproc:textproc/libxslt \
+		gsed:textproc/gsed
 
 USES=		cpe cmake:noninja compiler:c++11-lib gettext-runtime iconv \
 		localbase lua:52 pkgconfig tar:bzip2
@@ -23,7 +24,8 @@ CMAKE_ARGS=	-DBUILD_PORT_MONITORS:BOOL=false \
 		-DBUILD_HDDTEMP:BOOL=false \
 		-DBUILD_IOSTATS:BOOL=false \
 		-DBUILD_AUDACIOUS:BOOL=false \
-		-DBUILD_DOCS:BOOL=true
+		-DBUILD_DOCS:BOOL=true \
+		-DAPP_SED=${LOCALBASE}/bin/gsed
 CONFLICTS?=	conky-awesome-[0-9]*
 
 SLAVEDIRS=	sysutils/conky-awesome

Modified: head/sysutils/minipro/Makefile
==============================================================================
--- head/sysutils/minipro/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/sysutils/minipro/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	minipro
 PORTVERSION=	0.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	lhondareyte@laposte.net
@@ -11,6 +11,7 @@ COMMENT=	CLI for MiniPRO TL866xx chip programmers
 
 LICENSE=	GPLv3
 
+BUILD_DEPENDS=	gsed:textproc/gsed
 RUN_DEPENDS=	bash:shells/bash
 
 USES=		compiler:c11 gmake pkgconfig shebangfix
@@ -19,6 +20,7 @@ USE_GITLAB=	yes
 GL_ACCOUNT=	DavidGriffith
 GL_COMMIT=	e6fb06822e6685886a045ae98c3c82d832bd8e9c
 GL_PROJECT=	${PORTNAME}
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 SHEBANG_FILES=	miniprohex
 PLIST_FILES=	bin/minipro \
 		bin/miniprohex \

Modified: head/textproc/sphinxsearch/Makefile
==============================================================================
--- head/textproc/sphinxsearch/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/textproc/sphinxsearch/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -7,7 +7,7 @@
 
 PORTNAME=	sphinxsearch
 PORTVERSION=	2.2.11
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc databases
 MASTER_SITES=	http://sphinxsearch.com/files/ \
 		http://snowball.tartarus.org/dist/:libstemmer
@@ -21,10 +21,13 @@ LICENSE=	GPLv2
 
 USES=		compiler:c++11-lang
 
+BUILD_DEPENDS=	gsed:textproc/gsed
 # If expat is present on the system and configure finds it, it will
 # unconditionally link the output binary against it.  There's no way
 # of turning this off.  So for consistency, make sure it's always on.
 LIB_DEPENDS=	libexpat.so:textproc/expat2
+
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 
 OPTIONS_DEFINE=	ICONV ID64 LIBSTEMMER MYSQL OPTIMIZED_CFLAGS PGSQL \
 		RE2 SYSLOG UNIXODBC DOCS EXAMPLES

Modified: head/x11/evilvte/Makefile
==============================================================================
--- head/x11/evilvte/Makefile	Mon Jun  8 01:50:14 2020	(r538196)
+++ head/x11/evilvte/Makefile	Mon Jun  8 04:41:31 2020	(r538197)
@@ -3,14 +3,17 @@
 
 PORTNAME=	evilvte
 DISTVERSION=	0.5.2~pre1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11 gnome
 MASTER_SITES=	http://www.calno.com/${PORTNAME}/
 
 MAINTAINER=	aragon@phat.za.net
 COMMENT=	VTE based, super lightweight terminal emulator
 
+BUILD_DEPENDS=	gsed:textproc/gsed
+
 USES=		gmake gnome pkgconfig tar:xz
+BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 HAS_CONFIGURE=	yes
 ALL_TARGET=	evilvte
 INSTALLS_ICONS=	yes



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