Date: Fri, 8 May 2020 20:50:48 +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: r534427 - in head/archivers/p5-Compress-Raw-Zlib: . files Message-ID: <202005082050.048KomY4001491@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005082050.048KomY4001491>