pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/php-iconv converters/php-iconv: Install hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e76f06cc0a67
branches:  trunk
changeset: 372478:e76f06cc0a67
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Dec 09 02:23:07 2017 +0000

description:
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.

diffstat:

 converters/php-iconv/Makefile |  10 +++++++++-
 converters/php-iconv/PLIST    |   2 ++
 2 files changed, 11 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r fe44cbfb5a2d -r e76f06cc0a67 converters/php-iconv/Makefile
--- a/converters/php-iconv/Makefile     Sat Dec 09 00:33:36 2017 +0000
+++ b/converters/php-iconv/Makefile     Sat Dec 09 02:23:07 2017 +0000
@@ -1,11 +1,16 @@
-# $NetBSD: Makefile,v 1.11 2012/10/03 00:20:15 asau Exp $
+# $NetBSD: Makefile,v 1.12 2017/12/09 02:23:07 taca Exp $
 
 MODNAME=               iconv
+PKGREVISION=           1
 CATEGORIES+=           converters
 COMMENT=               PHP extension for character set conversion
 
 CONFLICTS=     php-iconv-[0-9]*
 
+INSTALLATION_DIRS+=    ${PREFIX}/include/php/ext/iconv
+
+PLIST_SRC+=            ${.CURDIR}/PLIST
+
 .include "../../converters/libiconv/buildlink3.mk"
 
 # This is necessary so that PHP would find either the libc iconv
@@ -23,5 +28,8 @@
 CONFIGURE_ARGS+=       --with-iconv
 .endif
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/php_iconv.h ${DESTDIR}${PREFIX}/include/php/ext/iconv
+
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fe44cbfb5a2d -r e76f06cc0a67 converters/php-iconv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/php-iconv/PLIST        Sat Dec 09 02:23:07 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/12/09 02:23:07 taca Exp $
+include/php/ext/iconv/php_iconv.h



Home | Main Index | Thread Index | Old Index