svn commit: r534427 - in head/archivers/p5-Compress-Raw-Zlib: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri May 8 20:50:49 UTC 2020


Author: sunpoet
Date: Fri May  8 20:50:48 2020
New Revision: 534427
URL: https://svnweb.freebsd.org/changeset/ports/534427

Log:
  Convert REINPLACE_CMD to patch file

Added:
  head/archivers/p5-Compress-Raw-Zlib/files/
  head/archivers/p5-Compress-Raw-Zlib/files/patch-config.in   (contents, props changed)
Modified:
  head/archivers/p5-Compress-Raw-Zlib/Makefile

Modified: head/archivers/p5-Compress-Raw-Zlib/Makefile
==============================================================================
--- head/archivers/p5-Compress-Raw-Zlib/Makefile	Fri May  8 20:50:41 2020	(r534426)
+++ head/archivers/p5-Compress-Raw-Zlib/Makefile	Fri May  8 20:50:48 2020	(r534427)
@@ -18,9 +18,6 @@ TEST_DEPENDS=	p5-Test-Pod>=1:devel/p5-Test-Pod
 USES=		perl5
 USE_PERL5=	configure
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^BUILD_ZLIB/ s|True|False|; /^INCLUDE/ s|= .*$$|= ${INCLUDEDIR}|; /^LIB/ s|= .*$$|= ${LIBDIR}|' ${WRKSRC}/config.in
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Zlib/Zlib.so
 

Added: head/archivers/p5-Compress-Raw-Zlib/files/patch-config.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/p5-Compress-Raw-Zlib/files/patch-config.in	Fri May  8 20:50:48 2020	(r534427)
@@ -0,0 +1,15 @@
+--- config.in.orig	2019-03-16 16:41:19 UTC
++++ config.in
+@@ -16,9 +16,9 @@
+ #    Setting the Gzip OS Code
+ #
+ 
+-BUILD_ZLIB      = True
+-INCLUDE         = ./zlib-src
+-LIB             = ./zlib-src
++BUILD_ZLIB      = False
++INCLUDE         = /usr/include
++LIB             = /usr/lib
+ OLD_ZLIB        = False
+ GZIP_OS_CODE    = AUTO_DETECT
+ 


More information about the svn-ports-all mailing list