ports/50695: MAINTAINER UPDATE: Workaround for unfetchable devel/ocaml-pcre

Henrik Motakef henrik.motakef at web.de
Mon Apr 7 20:30:06 UTC 2003


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



More information about the freebsd-ports-bugs mailing list