From patchwork Mon May 18 19:52:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Floris Bos X-Patchwork-Id: 473596 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 97CA5140D4D for ; Tue, 19 May 2015 05:52:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A310CA250E; Mon, 18 May 2015 19:52:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eeJiOs4QMAJx; Mon, 18 May 2015 19:52:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A52ECA24F3; Mon, 18 May 2015 19:52:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 892CE1C2378 for ; Mon, 18 May 2015 19:52:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 839CD3300B for ; Mon, 18 May 2015 19:52:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F-Qoa0-xBsmD for ; Mon, 18 May 2015 19:52:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx2.je-eigen-domein.nl (mx2.je-eigen-domein.nl [85.10.196.86]) by silver.osuosl.org (Postfix) with ESMTP id C9FE233009 for ; Mon, 18 May 2015 19:52:34 +0000 (UTC) Received: from lynx.to-the-max.net (localhost [127.0.0.1]) by mx2.je-eigen-domein.nl (Postfix) with ESMTP id EDC107880DD; Mon, 18 May 2015 21:52:33 +0200 (CEST) From: Floris Bos To: buildroot@buildroot.org Date: Mon, 18 May 2015 21:52:02 +0200 Message-Id: <1431978724-25081-4-git-send-email-bos@je-eigen-domein.nl> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431978724-25081-1-git-send-email-bos@je-eigen-domein.nl> References: <1431978724-25081-1-git-send-email-bos@je-eigen-domein.nl> Subject: [Buildroot] [PATCH 4/6] php: add PHP_VERSION_MAJOR variable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add PHP_VERSION_MAJOR variable to php.mk for use by other packages. E.g. to install the Ioncube loader binary, it is necessary to know the PHP major version. Signed-off-by: Floris Bos --- package/php/php.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/php/php.mk b/package/php/php.mk index 65d5015..1635a63 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -4,7 +4,8 @@ # ################################################################################ -PHP_VERSION = 5.6.8 +PHP_VERSION_MAJOR = 5.6 +PHP_VERSION = $(PHP_VERSION_MAJOR).8 PHP_SITE = http://www.php.net/distributions PHP_SOURCE = php-$(PHP_VERSION).tar.xz PHP_INSTALL_STAGING = YES