Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 2010 16:36:14 +0000
From:      "Tom Judge" <tom@tomjudge.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jpaetzel@FreeBSD.org
Subject:   ports/152055: [patch] Add support for pear modules to have non .tgz extensions.
Message-ID:  <20101108163408.331A4DCB3B@tomjudge.vm.bytemark.co.uk>
Resent-Message-ID: <201011081640.oA8Ge6ZE036082@freefall.freebsd.org>

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

>Number:         152055
>Category:       ports
>Synopsis:       [patch] Add support for pear modules to have non .tgz extensions.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 08 16:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Tom Judge
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD tinderbox.home.tomjudge.com 8.1-STABLE FreeBSD 8.1-STABLE #0 r213720: Tue Oct 12 14:02:02 UTC 2010 tj@tinderbox.home.tomjudge.com:/usr/obj/usr/src/sys/GENERIC amd64

>Description:

Pear ports are currently forced to have files with the .tgz extension by bsd.pear.mk. This is not ideal for pear modules that are not hosted on pear.php.net as they sometimes have different extensions.

This patch adds the variable PEAR_DIST_SUFX which if set will be used to define EXTRACT_SUFX.


>How-To-Repeat:
>Fix:

--- bsd.pear.mk.txt begins here ---
--- bsd.pear.mk.orig	2010-11-04 21:53:02.000000000 +0000
+++ bsd.pear.mk	2010-11-05 00:21:53.000000000 +0000
@@ -6,7 +6,11 @@
 		http://us.pear.php.net/get/ \
 		http://de.pear.php.net/get/
 PKGNAMEPREFIX=	pear-
+.if defined(PEAR_DIST_SUFX)
+EXTRACT_SUFX=	${PEAR_DIST_SUFX}
+.else
 EXTRACT_SUFX=	.tgz
+.endif
 DIST_SUBDIR=	PEAR
 
 RUN_DEPENDS+=	pear:${PORTSDIR}/devel/pear
--- bsd.pear.mk.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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