Simplify post-patch:

- Silence patch messages
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-07-15 19:09:15 +00:00
parent ccb52161dc
commit 258865a42e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445930

View File

@ -13,15 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= php:pecl
.include <bsd.port.pre.mk>
post-patch:
.if ${PHP_VER} >= 70
${CP} ${WRKSRC}/src/php7/igbinary.h ${WRKSRC}/igbinary.h
${CP} ${WRKSRC}/src/php7/php_igbinary.h ${WRKSRC}/php_igbinary.h
.else
${CP} ${WRKSRC}/src/php5/igbinary.h ${WRKSRC}/igbinary.h
${CP} ${WRKSRC}/src/php5/php_igbinary.h ${WRKSRC}/php_igbinary.h
.endif
@${CP} ${WRKSRC}/src/php${PHP_VER:C|.$||}/igbinary.h ${WRKSRC}/igbinary.h
@${CP} ${WRKSRC}/src/php${PHP_VER:C|.$||}/php_igbinary.h ${WRKSRC}/php_igbinary.h
.include <bsd.port.post.mk>
.include <bsd.port.mk>