Date: Wed, 14 Oct 2015 01:07:03 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399232 - head/net/openldap24-server Message-ID: <201510140107.t9E173NY039225@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Wed Oct 14 01:07:02 2015 New Revision: 399232 URL: https://svnweb.freebsd.org/changeset/ports/399232 Log: Use pipe sign (|) instead of comma (,) when doing sed. This fixes a problem when the variable portion of sed command contains comma, for instance, when USE_GCC=4.9. PR: 192297 Submitted by: marino Modified: head/net/openldap24-server/Makefile Modified: head/net/openldap24-server/Makefile ============================================================================== --- head/net/openldap24-server/Makefile Wed Oct 14 01:05:23 2015 (r399231) +++ head/net/openldap24-server/Makefile Wed Oct 14 01:07:02 2015 (r399232) @@ -512,10 +512,10 @@ PLIST_SUB+= SHLIB_MINOR=${OPENLDAP_SHLI PLIST_SUB+= OPENLDAP_MAJOR=${OPENLDAP_MAJOR} post-patch: - @${REINPLACE_CMD} -e 's,%LOCALSTATEDIR%/run/,${LDAP_RUN_DIR}/,g' \ + @${REINPLACE_CMD} -e 's|%LOCALSTATEDIR%/run/|${LDAP_RUN_DIR}/|g' \ ${SED_MODULES} ${WRKSRC}/servers/slapd/slapd.conf - @${REINPLACE_CMD} -e 's,^OPT =.*,OPT = ${CFLAGS},g' \ - -e 's,^CC =.*,CC = ${CC},g' \ + @${REINPLACE_CMD} -e 's|^OPT =.*|OPT = ${CFLAGS}|g' \ + -e 's|^CC =.*|CC = ${CC}|g' \ ${SED_MODULES} ${WRKSRC}/contrib/slapd-modules/*/Makefile \ ${WRKSRC}/contrib/slapd-modules/*/*/Makefile .if defined(CONFIGURE_SED)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510140107.t9E173NY039225>