Date: Fri, 25 Apr 2008 02:57:34 GMT From: Rubtsov Alexey <arubtsov@parallels.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/123063: [patch] The package for sysutils/pecl-fileinfo has the same name for various php versions. Message-ID: <200804250257.m3P2vYBM066870@www.freebsd.org> Resent-Message-ID: <200804250300.m3P307ap089688@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 123063 >Category: ports >Synopsis: [patch] The package for sysutils/pecl-fileinfo has the same name for various php versions. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 25 03:00:07 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Rubtsov Alexey >Release: 7.0-RELEASE >Organization: Parallels >Environment: FreeBSD <host> 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Thu Feb 28 12:48:17 NOVT 2008 root@<host>:/usr/src/sys/amd64/compile/Airin amd64 >Description: 1. The package for sysutils/pecl-fileinfo has depends to php. 2. The php may be installed from various ports like lang/php5 lang/php4. 3. The package for sysutils/pecl-fileinfo has name pecl-fileinfo-<version> for various php versions. I want to have package name with php${PHP_VERSION}- prefix like for other extensions port. This bug also actual for all pecl- ports: % cat /usr/ports/Mk/bsd.php.mk|grep _DEPENDS | grep pecl bitset_DEPENDS= math/pecl-bitset fileinfo_DEPENDS= sysutils/pecl-fileinfo filter_DEPENDS= security/pecl-filter fribidi_DEPENDS= converters/pecl-fribidi hash_DEPENDS= security/pecl-hash json_DEPENDS= devel/pecl-json memcache_DEPENDS= databases/pecl-memcache pdf_DEPENDS= print/pecl-pdflib radius_DEPENDS= net/pecl-radius yaz_DEPENDS= net/pecl-yaz zip_DEPENDS= archivers/pecl-zip >How-To-Repeat: cd ${PORTSDIR}/sysutils/pecl-fileinfo && make -V PKGNAME >Fix: Possible solution into attached diff. Patch attached with submission follows: --- /usr/ports/sysutils/pecl-fileinfo/Makefile.orig 2008-04-25 09:15:26.000000000 +0700 +++ /usr/ports/sysutils/pecl-fileinfo/Makefile 2008-04-25 09:16:10.000000000 +0700 @@ -9,7 +9,7 @@ PORTVERSION= 1.0.4 CATEGORIES= sysutils pear MASTER_SITES= http://pecl.php.net/get/ -PKGNAMEPREFIX= pecl- +PKGNAMEPREFIX= php${PHP_VER}-pecl- DISTNAME= Fileinfo-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804250257.m3P2vYBM066870>