Bug 210822

Summary: [patch] Fix PHP warning
Product: Ports & Packages Reporter: Adam Weinberger <adamw>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
USES=php:web none

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