Simplify post-patch:
- Silence patch messages
This commit is contained in:
parent
ccb52161dc
commit
258865a42e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445930
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user