Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2020 13:34:58 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544746 - in head: databases/erlfdb games/glest net/openntpd security/dsniff
Message-ID:  <202008121334.07CDYwFd085433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Wed Aug 12 13:34:57 2020
New Revision: 544746
URL: https://svnweb.freebsd.org/changeset/ports/544746

Log:
  Only pass -E to find(1) when passing -regex or -iregex
  
  The -E flag tells find(1) to interpret regular expressions which were
  passed as arguments to -regex and -iregex as extended regular expressions.
  It has no effect on other otherwise. Let's not invoke find(1) with -E if
  not necessary.
  
  Approved by:	portmgr (blanket approval)

Modified:
  head/databases/erlfdb/Makefile
  head/games/glest/Makefile
  head/net/openntpd/Makefile
  head/security/dsniff/Makefile

Modified: head/databases/erlfdb/Makefile
==============================================================================
--- head/databases/erlfdb/Makefile	Wed Aug 12 13:31:47 2020	(r544745)
+++ head/databases/erlfdb/Makefile	Wed Aug 12 13:34:57 2020	(r544746)
@@ -18,7 +18,7 @@ GH_ACCOUNT=	apache
 GH_PROJECT=	couchdb-${PORTNAME}
 
 post-install:
-	@${FIND} -E ${STAGEDIR} -type f  -name *.so \
+	@${FIND} ${STAGEDIR} -type f  -name *.so \
 		-exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>

Modified: head/games/glest/Makefile
==============================================================================
--- head/games/glest/Makefile	Wed Aug 12 13:31:47 2020	(r544745)
+++ head/games/glest/Makefile	Wed Aug 12 13:34:57 2020	(r544746)
@@ -55,7 +55,7 @@ post-patch:
 		-e 's|-llua5.1|-llua-5.1|g' \
 		${WRKSRC}/mk/linux/configure.ac \
 		${WRKSRC}/mk/linux/mk/autoconf/*
-	@${FIND} -E ${WRKDIR} -type f -name '*.bak' -o -name '*.orig' | \
+	@${FIND} ${WRKDIR} -type f -name '*.bak' -o -name '*.orig' | \
 		${XARGS} ${RM}
 
 pre-configure:

Modified: head/net/openntpd/Makefile
==============================================================================
--- head/net/openntpd/Makefile	Wed Aug 12 13:31:47 2020	(r544745)
+++ head/net/openntpd/Makefile	Wed Aug 12 13:34:57 2020	(r544746)
@@ -53,7 +53,7 @@ LDFLAGS+=		-L${WRKDIR}/libressl/lib
 # are owned by root, which creates problems of its own.
 pre-configure:
 	@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \
-	    && ${FIND} -E . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1
+	    && ${FIND} . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1
 .endif # SSL_DEFAULT
 
 .include <bsd.port.post.mk>

Modified: head/security/dsniff/Makefile
==============================================================================
--- head/security/dsniff/Makefile	Wed Aug 12 13:31:47 2020	(r544745)
+++ head/security/dsniff/Makefile	Wed Aug 12 13:34:57 2020	(r544746)
@@ -50,7 +50,7 @@ CONFIGURE_ARGS+=	--with-openssl=${WRKDIR}/libressl
 # are owned by root, which creates problems of its own.
 pre-configure:
 	@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \
-	    && ${FIND} -E . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1
+	    && ${FIND} . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1
 .else
 BROKEN_SSL=	openssl
 BROKEN_SSL_REASON_openssl=	incomplete definition of type 'struct rsa_st'



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