svn commit: r326714 - head/net/openldap24-server
Xin LI
delphij at FreeBSD.org
Sun Sep 8 08:59:55 UTC 2013
Author: delphij
Date: Sun Sep 8 08:59:54 2013
New Revision: 326714
URL: http://svnweb.freebsd.org/changeset/ports/326714
Log:
Don't assume that the user have gcc and do not override default CFLAGS.
PR: ports/181929
Reported by: O. Hartmann <ohartman zedat fu-berlin de>
Modified:
head/net/openldap24-server/Makefile
Modified: head/net/openldap24-server/Makefile
==============================================================================
--- head/net/openldap24-server/Makefile Sun Sep 8 08:54:25 2013 (r326713)
+++ head/net/openldap24-server/Makefile Sun Sep 8 08:59:54 2013 (r326714)
@@ -56,7 +56,7 @@ BROKEN= incompatible OpenLDAP version:
.endif
PORTREVISION_CLIENT= 0
-PORTREVISION_SERVER= 0
+PORTREVISION_SERVER= 1
OPENLDAP_SHLIB_MAJOR= 8
OPTIONS_DEFINE= FETCH
@@ -501,6 +501,10 @@ PLIST_SUB+= SHLIB_MAJOR=${OPENLDAP_SHLI
post-patch:
@${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' \
+ ${SED_MODULES} ${WRKSRC}/contrib/slapd-modules/*/Makefile \
+ ${WRKSRC}/contrib/slapd-modules/*/*/Makefile
.if defined(CONFIGURE_SED)
@${REINPLACE_CMD} -E ${CONFIGURE_SED} \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
More information about the svn-ports-all
mailing list