Date: Sat, 13 Jun 2015 02:01:44 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389308 - head/Mk Message-ID: <201506130201.t5D21ie8078206@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Sat Jun 13 02:01:43 2015 New Revision: 389308 URL: https://svnweb.freebsd.org/changeset/ports/389308 Log: Support .zip files in PATCHFILES and EXTRA_PATCHES. PR: 167794 (based on) Submitted by: jbeich Sponsored by: Absolight Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Sat Jun 13 00:00:37 2015 (r389307) +++ head/Mk/bsd.port.mk Sat Jun 13 02:01:43 2015 (r389308) @@ -3295,6 +3295,7 @@ do-patch: *.Z|*.gz) ${GZCAT} $$i ;; \ *.bz2) ${BZCAT} $$i ;; \ *.xz) ${XZCAT} $$i ;; \ + *.zip) ${UNZIP_NATIVE_CMD} -p $$i ;; \ *) ${CAT} $$i ;; \ esac | ${PATCH} ${PATCH_DIST_ARGS} `patch_dist_strip $$i` ; \ done ) @@ -3311,6 +3312,7 @@ do-patch: *.Z|*.gz) ${GZCAT} $$patch_file ;; \ *.bz2) ${BZCAT} $$patch_file ;; \ *.xz) ${XZCAT} $$patch_file ;; \ + *.zip) ${UNZIP_NATIVE_CMD} -p $$patch_file ;; \ *) ${CAT} $$patch_file ;; \ esac | ${PATCH} ${PATCH_ARGS} $$patch_strip ; \ done
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506130201.t5D21ie8078206>