Bug 213254 - www/drush: php56-phar needed as dependency
Summary: www/drush: php56-phar needed as dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kurt Jaeger
URL:
Keywords: easy, patch
Depends on:
Blocks:
 
Reported: 2016-10-06 18:04 UTC by weeks
Modified: 2016-10-07 18:35 UTC (History)
2 users (show)

See Also:
mfechner: maintainer-feedback+


Attachments
Added missing phar dependency (583 bytes, patch)
2016-10-07 18:14 UTC, Matthias Fechner
mfechner: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description weeks 2016-10-06 18:04:17 UTC
Currently, drush-8.1.5 does not install php56-phar as a dependency:

$ pkg info --dependencies drush
drush-8.1.5:
        php56-simplexml-5.6.26
        php56-session-5.6.26
        php56-hash-5.6.26
        php56-gd-5.6.26_2
        php56-pdo-5.6.26
        php56-ctype-5.6.26
        php56-5.6.26
        php56-mbstring-5.6.26
        php56-filter-5.6.26
        php56-json-5.6.26
        php56-dom-5.6.26

Without php56-phar, /usr/local/bin/drush (which is a symlink to /usr/local/bin/drush.pha) just exits without any output:

$ drush help
$
Comment 1 Matthias Fechner freebsd_committer 2016-10-07 18:14:21 UTC
Created attachment 175506 [details]
Added missing phar dependency

Thanks for the report.
Comment 2 Kurt Jaeger freebsd_committer 2016-10-07 18:35:12 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer 2016-10-07 18:35:35 UTC
A commit references this bug:

Author: pi
Date: Fri Oct  7 18:35:04 UTC 2016
New revision: 423477
URL: https://svnweb.freebsd.org/changeset/ports/423477

Log:
  www/drush: add dependency on php56-phar

  PR:		213254
  Submitted by:	Matthias Fechner <idefix@fechner.net> (maintainer)

Changes:
  head/www/drush/Makefile