Sat Dec 9 02:23:07 2017 UTC ()
converters/php-iconv: Install header file <ext/iconv/php_iconv.h>

Install header file ext/iconv/php_iconv.h to fix build problem of
www/php-http and www/php-http3.

Bump PKGREVISION.


(taca)
diff -r1.11 -r1.12 pkgsrc/converters/php-iconv/Makefile
diff -r0 -r1.1 pkgsrc/converters/php-iconv/PLIST

cvs diff -r1.11 -r1.12 pkgsrc/converters/php-iconv/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/php-iconv/Makefile 2012/10/03 00:20:15 1.11
+++ pkgsrc/converters/php-iconv/Makefile 2017/12/09 02:23:07 1.12
@@ -1,27 +1,35 @@ @@ -1,27 +1,35 @@
1# $NetBSD: Makefile,v 1.11 2012/10/03 00:20:15 asau Exp $ 1# $NetBSD: Makefile,v 1.12 2017/12/09 02:23:07 taca Exp $
2 2
3MODNAME= iconv 3MODNAME= iconv
 4PKGREVISION= 1
4CATEGORIES+= converters 5CATEGORIES+= converters
5COMMENT= PHP extension for character set conversion 6COMMENT= PHP extension for character set conversion
6 7
7CONFLICTS= php-iconv-[0-9]* 8CONFLICTS= php-iconv-[0-9]*
8 9
 10INSTALLATION_DIRS+= ${PREFIX}/include/php/ext/iconv
 11
 12PLIST_SRC+= ${.CURDIR}/PLIST
 13
9.include "../../converters/libiconv/buildlink3.mk" 14.include "../../converters/libiconv/buildlink3.mk"
10 15
11# This is necessary so that PHP would find either the libc iconv 16# This is necessary so that PHP would find either the libc iconv
12# or use the packaged iconv, as appropriate; using 17# or use the packaged iconv, as appropriate; using
13# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists 18# --with-iconv=shared,${BUILDLINK_PREFIX.iconv} assumes libiconv exists
14# 19#
15CHECK_BUILTIN.iconv:= yes 20CHECK_BUILTIN.iconv:= yes
16.include "../../converters/libiconv/builtin.mk" 21.include "../../converters/libiconv/builtin.mk"
17CHECK_BUILTIN.iconv:= no 22CHECK_BUILTIN.iconv:= no
18 23
19.if !empty(USE_BUILTIN.iconv:M[nN][oO]) || \ 24.if !empty(USE_BUILTIN.iconv:M[nN][oO]) || \
20 !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS]) 25 !empty(BUILTIN_LIB_FOUND.iconv:M[yY][eE][sS])
21CONFIGURE_ARGS+= --with-iconv=shared,${BUILDLINK_PREFIX.iconv} 26CONFIGURE_ARGS+= --with-iconv=shared,${BUILDLINK_PREFIX.iconv}
22.else 27.else
23CONFIGURE_ARGS+= --with-iconv 28CONFIGURE_ARGS+= --with-iconv
24.endif 29.endif
25 30
 31post-install:
 32 ${INSTALL_DATA} ${WRKSRC}/php_iconv.h ${DESTDIR}${PREFIX}/include/php/ext/iconv
 33
26.include "../../lang/php/ext.mk" 34.include "../../lang/php/ext.mk"
27.include "../../mk/bsd.pkg.mk" 35.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/converters/php-iconv/PLIST
@comment $NetBSD: PLIST,v 1.1 2017/12/09 02:23:07 taca Exp $
include/php/ext/iconv/php_iconv.h