pkgsrc-Bugs archive

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

Re: pkg/55508: lang/php56: install shared library



The following reply was made to PR pkg/55508; it has been noted by GNATS.

From: "Sergey A. Osokin" <osa%freebsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/55508: lang/php56: install shared library
Date: Tue, 21 Jul 2020 14:57:54 +0000

 --yrj/dFKFPuw6o+aM
 Content-Type: text/plain; charset=koi8-r
 Content-Disposition: inline
 
 On Tue, Jul 21, 2020 at 02:55:00PM +0000, gnats-admin%netbsd.org@localhost wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `pkg/55508'.
 > The individual assigned to look at your
 > report is: pkg-manager. 
 > 
 > >Category:       pkg
 > >Responsible:    pkg-manager
 > >Synopsis:       lang/php56: install shared library
 > >Arrival-Date:   Tue Jul 21 14:55:00 +0000 2020
 > 
 
 Here is the patch.
 
 --
 Sergey
 
 --yrj/dFKFPuw6o+aM
 Content-Type: text/plain; charset=koi8-r
 Content-Disposition: attachment; filename="patch-php56.txt"
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/php56/Makefile,v
 retrieving revision 1.25
 diff -u -r1.25 Makefile
 --- Makefile	2 Jun 2020 08:22:46 -0000	1.25
 +++ Makefile	21 Jul 2020 14:48:56 -0000
 @@ -4,7 +4,7 @@
  # We can't omit PKGNAME here to handle PKG_OPTIONS.
  #
  PKGNAME=		php-${PHP_VERSION}
 -PKGREVISION=		3
 +PKGREVISION=		4
  CATEGORIES=		lang
  
  HOMEPAGE=		https://www.php.net/
 @@ -56,5 +56,8 @@
  	cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \
  		${DESTDIR}${EGDIR}
  	${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR}${PREFIX}/share/php
 +	${MKDIR} ${DESTDIR}${PREFIX}/include/php/sapi/embed
 +	${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/
 +	${INSTALL_LIB} ${WRKSRC}/libs/libphp5.so ${DESTDIR}${PREFIX}/lib/
  
  .include "../../mk/bsd.pkg.mk"
 Index: Makefile.php
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/php56/Makefile.php,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile.php
 --- Makefile.php	31 Mar 2019 20:48:18 -0000	1.7
 +++ Makefile.php	21 Jul 2020 14:48:56 -0000
 @@ -37,6 +37,7 @@
  CONFIGURE_ARGS+=	--disable-json
  
  CONFIGURE_ARGS+=	--enable-cgi
 +CONFIGURE_ARGS+=	--enable-embed
  CONFIGURE_ARGS+=	--enable-mysqlnd
  CONFIGURE_ARGS+=	--enable-xml
  CONFIGURE_ARGS+=	--with-libxml-dir=${PREFIX}
 Index: PLIST
 ===================================================================
 RCS file: /cvsroot/pkgsrc/lang/php56/PLIST,v
 retrieving revision 1.3
 diff -u -r1.3 PLIST
 --- PLIST	5 Apr 2017 12:28:59 -0000	1.3
 +++ PLIST	21 Jul 2020 14:48:56 -0000
 @@ -241,6 +241,8 @@
  include/php/main/win32_internal_function_disabled.h
  include/php/main/win95nt.h
  include/php/sapi/cli/cli.h
 +include/php/sapi/embed/php_embed.h
 +lib/libphp5.so
  lib/php/build/Makefile.global
  lib/php/build/acinclude.m4
  lib/php/build/config.guess
 
 --yrj/dFKFPuw6o+aM--
 


Home | Main Index | Thread Index | Old Index