Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2006 15:39:12 +0100 (CET)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105116: slight modification to pcre-utf8 port
Message-ID:  <200611031439.kA3EdC46063618@rambutan.pingpong.net>
Resent-Message-ID: <200611031440.kA3EeJWr091418@freefall.freebsd.org>

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

>Number:         105116
>Category:       ports
>Synopsis:       slight modification to pcre-utf8 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:   Fri Nov 03 14:40:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD rambutan.pingpong.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #9: Wed Oct 18 20:43:47 CEST 2006 girgen@rambutan.pingpong.net:/usr/obj/.a/banan/usr/src/sys/WORKSTATION i386


	
>Description:
When setting WITH_UTF=yes and installing deve/pcre, you don't get the
same pkg name as when installin the pcre-utf8 port. I suggest moving
pkgnamesuffix and conflicts to the MASTERDIR/Makefile to make it more
stringent.

	
>How-To-Repeat:
	
>Fix:
Index: pcre/Makefile
===================================================================
RCS file: /opt/ncvs/ports/devel/pcre/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- pcre/Makefile	7 Jul 2006 07:58:19 -0000	1.37
+++ pcre/Makefile	3 Nov 2006 14:34:59 -0000
@@ -27,6 +27,8 @@
 .endif
 
 .if defined(WITH_UTF8)
+CONFLICTS=	pcre-[0-9]*
+PKGNAMESUFFIX=	-utf8
 CONFIGURE_ARGS+=--enable-utf8 \
 		--enable-unicode-properties
 .endif
Index: pcre-utf8/Makefile
===================================================================
RCS file: /opt/ncvs/ports/devel/pcre-utf8/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- pcre-utf8/Makefile	16 Oct 2005 18:47:23 -0000	1.2
+++ pcre-utf8/Makefile	3 Nov 2006 14:35:16 -0000
@@ -5,10 +5,8 @@
 # $FreeBSD: ports/devel/pcre-utf8/Makefile,v 1.2 2005/10/16 18:47:23 krion Exp $
 #
 
-PKGNAMESUFFIX=	-utf8
 MASTERDIR=	${.CURDIR}/../pcre
 
-CONFLICTS=	pcre-[0-9]*
 WITH_UTF8=	yes
 
 .include "${MASTERDIR}/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:



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