From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 29 21:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA9B5592 for ; Sat, 29 Mar 2014 21:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8753FD8C for ; Sat, 29 Mar 2014 21:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2TLU0rM008728 for ; Sat, 29 Mar 2014 21:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2TLU02r008727; Sat, 29 Mar 2014 21:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 29 Mar 2014 21:30:00 GMT Resent-Message-Id: <201403292130.s2TLU02r008727@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Spil Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF12B423 for ; Sat, 29 Mar 2014 21:21:57 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABED7D69 for ; Sat, 29 Mar 2014 21:21:57 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2TLLv34027797 for ; Sat, 29 Mar 2014 21:21:57 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2TLLvBI027791; Sat, 29 Mar 2014 21:21:57 GMT (envelope-from nobody) Message-Id: <201403292121.s2TLLvBI027791@cgiserv.freebsd.org> Date: Sat, 29 Mar 2014 21:21:57 GMT From: Spil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188061: [lang/php55] Extensions emit warning DEFAULT_PHP_VER is defined when it's not X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2014 21:30:00 -0000 >Number: 188061 >Category: ports >Synopsis: [lang/php55] Extensions emit warning DEFAULT_PHP_VER is defined when it's not >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 29 21:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Spil >Release: 10.0-RELEASE >Organization: n.a. >Environment: FreeBSD build.example.org 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Wed Jan 15 15:26:34 CET 2014 root@build.example.org:/usr/obj/usr/src/sys/BEASTIE100 amd64 >Description: When building a php 5.5 extension make emits warnings /!\ WARNING /!\ DEFAULT_PHP_VER is defined, consider using DEFAULT_VERSIONS=php=55 instead even when DEFAULT_PHP_VER is not set but it is properly defined using DEFAULT_VERSIONS= php=5.5 (or DEFAULT_VERSIONS= php=55) >How-To-Repeat: cd /usr/ports/www/php55-opcache >Fix: Problem is in Makefile.ext. lang/php55/Makefile contains DEFAULT_VERSIONS= php=55 when PKGNAMESUFFIX is undefined (i.e. not building an extension) but Makefile.ext which it includes when PKGNAMESUFFIX is defined contains DEFAULT_PHP_VER=55 causing the warning. Replacing DEFAULT_PHP_VER in Makefile.ext quenches the error. --- Makefile.ext.orig 2014-03-29 22:11:26.000000000 +0100 +++ Makefile.ext 2014-03-29 22:09:43.000000000 +0100 @@ -3,7 +3,8 @@ USE_PHP= yes USE_PHPEXT= yes PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} -DEFAULT_PHP_VER=55 +#DEFAULT_PHP_VER=55 +DEFAULT_VERSIONS= php=55 IGNORE_WITH_PHP=52 53 54 5 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} >Release-Note: >Audit-Trail: >Unformatted: