ports/154527: [patch] net/pecl-yaz unbreak port

Pawel Pekala c0rn at o2.pl
Sat Feb 5 15:00:21 UTC 2011


>Number:         154527
>Category:       ports
>Synopsis:       [patch] net/pecl-yaz unbreak port
>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:   Sat Feb 05 15:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 8.1-RELEASE #2: Sat Aug 21 18:46:54 CEST 2010
    corn at caprica.slowicza.org:/usr/obj/usr/src/sys/GENERIC



>Description:


This should unbreak port, didn't test if this port
works correctly with yaz-4.x



>How-To-Repeat:





>Fix:


--- pecl-yaz-1.0.14_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/pecl-yaz/Makefile /home/corn/devel/pecl-yaz/Makefile
--- /usr/ports/net/pecl-yaz/Makefile	2011-02-05 10:11:00.000000000 +0100
+++ /home/corn/devel/pecl-yaz/Makefile	2011-02-05 15:43:52.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	yaz
 PORTVERSION=	1.0.14
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -19,11 +19,12 @@
 
 LIB_DEPENDS=	yaz.4:${PORTSDIR}/net/yaz
 
-BROKEN=		does not configure
-
 USE_PHP=	yes
 USE_PHPEXT=	yes
 
 CONFIGURE_ARGS=	--with-yaz=${LOCALBASE}
 
+pre-configure:
+	@${REINPLACE_CMD} -e 's|YAZVERSION|YAZ_VERSION|g' ${WRKSRC}/configure
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/pecl-yaz/distinfo /home/corn/devel/pecl-yaz/distinfo
--- /usr/ports/net/pecl-yaz/distinfo	2008-04-04 23:34:39.000000000 +0200
+++ /home/corn/devel/pecl-yaz/distinfo	2011-02-05 15:42:00.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (PECL/yaz-1.0.14.tgz) = ad75c5aba798ed4f708e4a6b8b72ca0a
 SHA256 (PECL/yaz-1.0.14.tgz) = a38d608160d6c95063b061589a1e4e0a2fe4d08026648b7550ab3796456af62e
 SIZE (PECL/yaz-1.0.14.tgz) = 16601
--- pecl-yaz-1.0.14_3.patch ends here ---



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



More information about the freebsd-ports-bugs mailing list