Fix post-patch to allow for CFLAGS containing a slash (which happens
in case of pathnames).
This commit is contained in:
parent
ae85238100
commit
6ee4593813
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235177
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ post-patch:
|
|||
@${FIND} ${WRKSRC} ! -type d \
|
||||
-exec ${GREP} -q _CPP_BITS_IOSBASE_H '{}' \; \
|
||||
-exec ${REINPLACE_CMD} 's/#ifdef _CPP_BITS_IOSBASE_H/#if defined(_IOS_BASE_H) || defined(_CPP_BITS_IOSBASE_H)/g' '{}' \;
|
||||
${REINPLACE_CMD} "s/-O2/${CFLAGS}/g; s,/usr/local,${LOCALBASE},; s|s,@bdblib@,\$$bdblib,|s,@bdblib@,${BDB_LIB_CXX_NAME},|" ${WRKSRC}/configure
|
||||
${REINPLACE_CMD} "s#-O2#${CFLAGS}#g; s,/usr/local,${LOCALBASE},; s|s,@bdblib@,\$$bdblib,|s,@bdblib@,${BDB_LIB_CXX_NAME},|" ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/xsim.sh ${PREFIX}/bin/xsim
|
||||
|
|
Loading…
Reference in a new issue