svn commit: r529197 - in head/misc/sword: . files

Lorenzo Salvadore salvadore at FreeBSD.org
Thu Mar 26 15:54:51 UTC 2020


Author: salvadore
Date: Thu Mar 26 15:54:40 2020
New Revision: 529197
URL: https://svnweb.freebsd.org/changeset/ports/529197

Log:
  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

Added:
  head/misc/sword/files/patch-configure   (contents, props changed)
Modified:
  head/misc/sword/Makefile

Modified: head/misc/sword/Makefile
==============================================================================
--- head/misc/sword/Makefile	Thu Mar 26 15:40:59 2020	(r529196)
+++ head/misc/sword/Makefile	Thu Mar 26 15:54:40 2020	(r529197)
@@ -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 \

Added: head/misc/sword/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/sword/files/patch-configure	Thu Mar 26 15:54:40 2020	(r529197)
@@ -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"


More information about the svn-ports-all mailing list