Index: head/archivers/rpm4/Makefile =================================================================== --- head/archivers/rpm4/Makefile +++ head/archivers/rpm4/Makefile @@ -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 @@ 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 @@ 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 \ Index: head/audio/pianod2/Makefile =================================================================== --- head/audio/pianod2/Makefile +++ head/audio/pianod2/Makefile @@ -3,6 +3,7 @@ PORTNAME= pianod2 PORTVERSION= 329 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://deviousfish.com/Downloads/pianod2/Devel/ @@ -14,6 +15,7 @@ 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 @@ 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 \ Index: head/databases/cassandra3/Makefile =================================================================== --- head/databases/cassandra3/Makefile +++ head/databases/cassandra3/Makefile @@ -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 @@ .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 Index: head/databases/couchdb2/Makefile =================================================================== --- head/databases/couchdb2/Makefile +++ head/databases/couchdb2/Makefile @@ -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 @@ -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: Index: head/databases/tarantool/Makefile =================================================================== --- head/databases/tarantool/Makefile +++ head/databases/tarantool/Makefile @@ -3,7 +3,7 @@ PORTNAME= tarantool PORTVERSION= 2.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org @@ -15,6 +15,7 @@ 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 @@ 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 Index: head/devel/etl/Makefile =================================================================== --- head/devel/etl/Makefile +++ head/devel/etl/Makefile @@ -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 @@ LICENSE= GPLv2+ +BUILD_DEPENDS= gsed:textproc/gsed + NO_ARCH= yes PORTSCOUT= limitw:1,even @@ -22,6 +25,8 @@ WRKSRC_SUBDIR= ETL OPTIONS_DEFINE= DOCS + +BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} Index: head/devel/libappindicator/Makefile =================================================================== --- head/devel/libappindicator/Makefile +++ head/devel/libappindicator/Makefile @@ -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_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 @@ 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 @@ 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 Index: head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am =================================================================== --- head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am +++ head/devel/libappindicator/files/extra-patch-bindings_vala_examples_Makefile.am @@ -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 = \ Index: head/devel/synfig/Makefile =================================================================== --- head/devel/synfig/Makefile +++ head/devel/synfig/Makefile @@ -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 @@ 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 Index: head/devel/zziplib/Makefile =================================================================== --- head/devel/zziplib/Makefile +++ head/devel/zziplib/Makefile @@ -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_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 Index: head/dns/knot2/Makefile =================================================================== --- head/dns/knot2/Makefile +++ head/dns/knot2/Makefile @@ -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 @@ 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 @@ 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 Index: head/graphics/ftgl/files/patch-configure =================================================================== --- head/graphics/ftgl/files/patch-configure +++ head/graphics/ftgl/files/patch-configure @@ -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 \ Index: head/graphics/synfigstudio/Makefile =================================================================== --- head/graphics/synfigstudio/Makefile +++ head/graphics/synfigstudio/Makefile @@ -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 @@ 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 @@ 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 Index: head/java/openjdk11/Makefile =================================================================== --- head/java/openjdk11/Makefile +++ head/java/openjdk11/Makefile @@ -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 @@ 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 @@ 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 \ Index: head/java/openjdk12/Makefile =================================================================== --- head/java/openjdk12/Makefile +++ head/java/openjdk12/Makefile @@ -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 @@ 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 @@ 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 \ Index: head/java/openjdk13/Makefile =================================================================== --- head/java/openjdk13/Makefile +++ head/java/openjdk13/Makefile @@ -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 @@ 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 @@ 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 \ Index: head/math/p5-NetCDF/files/patch-port_master.mk.in =================================================================== --- head/math/p5-NetCDF/files/patch-port_master.mk.in +++ head/math/p5-NetCDF/files/patch-port_master.mk.in @@ -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/[^.]*\.//'`; \ Index: head/multimedia/vlc/Makefile =================================================================== --- head/multimedia/vlc/Makefile +++ head/multimedia/vlc/Makefile @@ -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 @@ 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 @@ 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 \ Index: head/net-mgmt/docsis/files/patch-doc_generate-settings.sh =================================================================== --- head/net-mgmt/docsis/files/patch-doc_generate-settings.sh +++ head/net-mgmt/docsis/files/patch-doc_generate-settings.sh @@ -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]*,_/\ \;\ \;\ \;\ \;/g' \ +- | sed 's/\decode_//g' \ +- | sed 's/\ //g' | tr -s "\(\)" "%%" \ ++ | sed 's/decode_//g' \ ++ | sed 's/ //g' | tr -s "\(\)" "%%" \ + | sed 's/^/