misc/sword: Replace use of REINPLACE_CMD by a patch
Submitted by: swills Approved by: salvadore (maintainer), gerald (mentor) Differential Revision: https://reviews.freebsd.org/D23568
This commit is contained in:
parent
966bba34c2
commit
9e23fee4e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529197
2 changed files with 13 additions and 3 deletions
|
@ -38,9 +38,6 @@ CLUCENE_CONFIGURE_WITH= clucene=${LOCALBASE} icu
|
|||
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
CURL_CONFIGURE_WITH= curl
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|-O3||' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install_config)
|
||||
${MV} ${STAGEDIR}${PREFIX}/etc/sword.conf \
|
||||
|
|
13
misc/sword/files/patch-configure
Normal file
13
misc/sword/files/patch-configure
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- configure.orig 2018-01-09 02:02:01 UTC
|
||||
+++ configure
|
||||
@@ -16355,8 +16355,8 @@ $as_echo "yes" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
- AM_CFLAGS=-O3
|
||||
- AM_CXXFLAGS=-O3
|
||||
+ AM_CFLAGS=
|
||||
+ AM_CXXFLAGS=
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
CXXFLAGS="$my_save_cxxflags"
|
Loading…
Reference in a new issue