Bug 210822 - [patch] Fix PHP warning
Summary: [patch] Fix PHP warning
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-07-04 16:15 UTC by Adam Weinberger
Modified: 2016-07-04 19:14 UTC (History)
1 user (show)

See Also:


Attachments
USES=php:web (808 bytes, patch)
2016-07-04 16:15 UTC, Adam Weinberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Weinberger freebsd_committer freebsd_triage 2016-07-04 16:15:07 UTC
Created attachment 172109 [details]
USES=php:web

If you have

  USES=    php:web
  USE_PHP= foo bar

You get the following error:

  Using USE_PHP alone is deprecated, please use USES=php

Attached patch updates the bsd.port.mk checks to allow the php:web syntax.
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2016-07-04 18:02:45 UTC
Ah, yes, good catch.  Approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-07-04 19:13:21 UTC
A commit references this bug:

Author: adamw
Date: Mon Jul  4 19:12:56 UTC 2016
New revision: 418050
URL: https://svnweb.freebsd.org/changeset/ports/418050

Log:
  Extend the USES=php match so that it recognizes php:web as well, to prevent
  an erroneous deprecation warning.

  PR:		210822
  Approved by:	portmgr (mat)

Changes:
  head/Mk/bsd.port.mk