Date: Sun, 8 Sep 2013 08:59:54 +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: r326714 - head/net/openldap24-server Message-ID: <201309080859.r888xs1J021056@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309080859.r888xs1J021056>