svn commit: r399232 - head/net/openldap24-server
Xin LI
delphij at FreeBSD.org
Wed Oct 14 01:07:04 UTC 2015
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)
More information about the svn-ports-head
mailing list