ports/130535: [Patch]databases/pecl-memcache:add CONFLICT

Wen Heping wenheping at gmail.com
Wed Jan 14 07:10:02 UTC 2009


>Number:         130535
>Category:       ports
>Synopsis:       [Patch]databases/pecl-memcache:add CONFLICT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 14 07:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Tue Dec 16 00:26:59 HKT 2008     root at fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
add CONFLICT with the new created port
change NOPORTDOCS to NOPORTEXAMPLES
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2009-01-14 18:38:31.000000000 +0800
+++ Makefile	2009-01-14 18:38:31.000000000 +0800
@@ -16,6 +16,8 @@
 MAINTAINER=	gerrit.beine at gmx.de
 COMMENT=	Memcached extension
 
+CONFLICTS=	pecl-memcache-3.*
+
 USE_PHP=	zlib session
 USE_PHP_BUILD=	yes
 USE_PHPIZE=	yes
@@ -26,7 +28,7 @@
 
 CONFIGURE_ARGS=	--with-zlib-dir=/usr
 
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
 post-install:
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR}
--- pkg-plist.orig	2009-01-14 18:38:31.000000000 +0800
+++ pkg-plist	2009-01-14 18:38:31.000000000 +0800
@@ -1,2 +1,2 @@
-%%PORTDOCS%%%%EXAMPLESDIR%%/example.php
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list