ports/152055: [patch] Add support for pear modules to have non .tgz extensions.

Tom Judge tom at tomjudge.com
Mon Nov 8 16:40:07 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list