Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Nov 2012 21:42:46 -0400 (EDT)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173277: bsd.php.mk makes php-5.4 incompatibility very unclear
Message-ID:  <20121102014246.E3E22454F2@apnoea.adamw.org>
Resent-Message-ID: <201211020150.qA21o1Ie050564@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173277
>Category:       ports
>Synopsis:       bsd.php.mk makes php-5.4 incompatibility very unclear
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 02 01:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 9.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD apnoea.adamw.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Nov 1 19:16:13 EDT 2012 root@apnoea.adamw.org:/usr/obj/usr/src/sys/PEEP i386


	
>Description:

mail/squirrelmail does not work with php-5.4 yet. As a result, I have to set
IGNORE_WITH_PHP=	5
in the Makefile.

The problem is that the resulting error message is:
===>  squirrelmail-1.4.22_2 cannot install: doesn't work with PHP version : 5 (Doesn't support PHP 5).

This is inaccurate, and as a result I have received far too many emails
asking why I "removed" php-5 compatibility. bsd.php.mk will not acknowledge
IGNORE_WITH_PHP=	54
as a valid alternative. The wording of the message is obviously unclear.

>How-To-Repeat:
	
>Fix:

bsd.php.mk should either accept (and print in the resulting error message)
the value "54" as an alias for "5", or the IGNORE_WITH_PHP=5 error message
should be manually set to print a more helpful message.

Even the ability to append a useful message to the confusing canned message
would help.

If I'm missing something here please let me know.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121102014246.E3E22454F2>