Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2020 19:01:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r525567 - in head/archivers/librtfcomp: . files
Message-ID:  <202002081901.018J1Zcq067325@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Feb  8 19:01:35 2020
New Revision: 525567
URL: https://svnweb.freebsd.org/changeset/ports/525567

Log:
  Convert REINPLACE_CMD to patch file

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

Modified: head/archivers/librtfcomp/Makefile
==============================================================================
--- head/archivers/librtfcomp/Makefile	Sat Feb  8 19:01:25 2020	(r525566)
+++ head/archivers/librtfcomp/Makefile	Sat Feb  8 19:01:35 2020	(r525567)
@@ -13,13 +13,11 @@ COMMENT=	Library for handling compressed RTF documents
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
+USES=		libtool
+
 CONFIGURE_ARGS=	--disable-python-bindings
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USES=		libtool
-
-post-patch:
-	@${REINPLACE_CMD} -e '/VISIBILITY=/ s| -fvisibility=hidden||' ${WRKSRC}/configure
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tests/fromrtf ${STAGEDIR}${PREFIX}/bin/fromrtf

Added: head/archivers/librtfcomp/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/librtfcomp/files/patch-configure	Sat Feb  8 19:01:35 2020	(r525567)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-07-25 13:05:57 UTC
++++ configure
+@@ -11253,7 +11253,7 @@ fi
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ 
+ if test x"$have_gccvisibility" = x"yes"; then
+-	VISIBILITY="-DHAVE_GCCVISIBILITY -fvisibility=hidden"
++	VISIBILITY="-DHAVE_GCCVISIBILITY"
+ fi
+ 
+ 



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