From henrik.motakef@web.de  Mon Apr  7 13:25:59 2003
Return-Path: <henrik.motakef@web.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 41B4E37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Apr 2003 13:25:59 -0700 (PDT)
Received: from smtp.web.de (smtp01.web.de [217.72.192.180])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5A0EB43FBD
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Apr 2003 13:25:58 -0700 (PDT)
	(envelope-from henrik.motakef@web.de)
Received: from [213.23.208.56] (helo=interim.henrik-motakef.de)
	by smtp.web.de with esmtp (WEB.DE(Exim) 4.97 #53)
	id 192dBk-0006z0-00
	for FreeBSD-gnats-submit@freebsd.org; Mon, 07 Apr 2003 22:25:57 +0200
Received: by interim.henrik-motakef.de (Postfix, from userid 1000)
	id 7D67A20E5; Mon,  7 Apr 2003 22:32:00 +0200 (CEST)
Message-Id: <20030407203200.7D67A20E5@interim.henrik-motakef.de>
Date: Mon,  7 Apr 2003 22:32:00 +0200 (CEST)
From: Henrik Motakef <henrik.motakef@web.de>
Sender: henrik.motakef@web.de
Reply-To: Henrik Motakef <henrik.motakef@web.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: MAINTAINER UPDATE: Workaround for unfetchable devel/ocaml-pcre
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50695
>Category:       ports
>Synopsis:       MAINTAINER UPDATE: Workaround for unfetchable devel/ocaml-pcre
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 13:30:03 PDT 2003
>Closed-Date:    Sun Apr 13 04:16:50 PDT 2003
>Last-Modified:  Sun Apr 13 04:16:50 PDT 2003
>Originator:     Henrik Motakef
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD interim.henrik-motakef.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Feb 16 11:53:08 CET 2003 henrik@interim.henrik-motakef.de:/usr/obj/usr/src/sys/INTERIM i386


	
>Description:
	The devel/ocaml-pcre port is outdated, the old distfile isn't fetchable
	any more.

	The new version depends on devel/pcre 4.1, which is not in the ports
	tree  yet, so a simple update is not currently possible. This patch
	updates the Makefile to fetch the old-but-working distfile from
	a temorary mirror until a proper update is possible.

	Additionally, ocaml-pcre is now built without the "-custom" switch
	by default (with a WITH_CUSTOM knob to change this). This is required
	by a depending port of WDialog by Stephane Legrand.
>How-To-Repeat:
	cd /usr/ports/devel/ocaml-pcre && make fetch
>Fix:

diff -urN ../ocaml-pcre.orig/Makefile ./Makefile
--- ../ocaml-pcre.orig/Makefile	Sun Apr  6 16:56:47 2003
+++ ./Makefile	Mon Apr  7 21:49:26 2003
@@ -8,7 +8,7 @@
 PORTNAME=	pcre
 PORTVERSION=	4.33.0
 CATEGORIES=	devel
-MASTER_SITES=	http://www.oefai.at/~markus/ocaml_sources/
+MASTER_SITES=	http://www.henrik-motakef.de/freebsd-distfiles/
 MASTER_SITE_SUBDIR=	pcre-ocaml
 PKGNAMEPREFIX=	ocaml-
 DISTNAME=	pcre-ocaml-${PORTVERSION}
@@ -23,5 +23,8 @@
 USE_GMAKE=	yes
 MAKE_ENV=	OCAML_LIB_INSTALL="${PREFIX}/lib/ocaml/site-lib/pcre" \
 		INCDIRS="${LOCALBASE}/include" LIBDIRS="${LOCALBASE}/lib"
+.if !defined(WITH_CUSTOM)
+MAKE_ENV+=	NO_CUSTOM=y
+.endif
 
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Apr 13 04:16:38 PDT 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50695 
>Unformatted:
