1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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)
This commit is contained in:
Mateusz Piotrowski 2020-08-12 13:34:57 +00:00
parent 38f33bbc7a
commit 013945e73d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544746
4 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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:

View File

@ -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>

View File

@ -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'