Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Apr 2003 22:32:00 +0200 (CEST)
From:      Henrik Motakef <henrik.motakef@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50695: MAINTAINER UPDATE: Workaround for unfetchable devel/ocaml-pcre
Message-ID:  <20030407203200.7D67A20E5@interim.henrik-motakef.de>
Resent-Message-ID: <200304072030.h37KU4vS088242@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 13:30:03 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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