Bug 123063

Summary: [patch] The package for sysutils/pecl-fileinfo has the same name for various php versions.
Product: Ports & Packages Reporter: Rubtsov Alexey <arubtsov>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Rubtsov Alexey 2008-04-25 04:00:07 UTC
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

Fix: Possible solution into attached diff. 




Patch attached with submission follows:
How-To-Repeat: cd ${PORTSDIR}/sysutils/pecl-fileinfo && make -V PKGNAME
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-25 04:00:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2008-04-28 12:57:26 UTC
State Changed
From-To: open->closed

It's not a bug, it's common practice.