Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2020 15:54:41 +0000 (UTC)
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r529197 - in head/misc/sword: . files
Message-ID:  <202003261554.02QFsfRT054121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003261554.02QFsfRT054121>