mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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>
This commit is contained in:
parent
04c771e532
commit
917ad9bb34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326714
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
|
|||
.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_SHLIB_MAJOR}
|
|||
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}
|
||||
|
|
Loading…
Add table
Reference in a new issue