ports/105116: slight modification to pcre-utf8 port
Palle Girgensohn
girgen at FreeBSD.org
Fri Nov 3 14:40:22 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list