Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 22:57:59 GMT
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124859: [patch] Correctly note emacs-calc dependency/compatability info
Message-ID:  <200806212257.m5LMvxx4058621@www.freebsd.org>
Resent-Message-ID: <200806212300.m5LN0DVj057448@freefall.freebsd.org>

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

>Number:         124859
>Category:       ports
>Synopsis:       [patch] Correctly note emacs-calc dependency/compatability info
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 23:00:13 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        7.0-STABLE
>Organization:
n/a
>Environment:
FreeBSD server.vk2pj.dyndns.org 7.0-STABLE FreeBSD 7.0-STABLE #18: Sun May 18 15:02:39 EST 2008     root@server.vk2pj.dyndns.org:/var/obj/k7/usr/src/sys/server  i386

>Description:
The functionality of emacs-calc has been integrated into emacs-22.  The upgrade of editors/emacs from emacs-21 to emacs-22 thereby "broke" emacs-calc because they both install common files.  Some investigation shows that it also conflicts with xemacs-packages for the same reason.

emacs-calc is still usable with older emacsen.

The attached patch changes emacs-calc to depend on emacs21 instead of emacs and
adds appropriate conflicts entries.

>How-To-Repeat:
cd /home/ports/math/emacs-calc && make
>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/math/emacs-calc/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	19 Jun 2008 02:54:51 -0000	1.7
+++ Makefile	21 Jun 2008 22:48:54 -0000
@@ -16,12 +16,10 @@
 MAINTAINER=	andrewb@cs.cmu.edu
 COMMENT=	Arbitrary-precision calculator for Emacs
 
-RUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
-BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
+RUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs21
+BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs21
 
-BROKEN=		Incorrect pkg-plist
-DEPRECATED=	Has been broken for more than 6 months
-EXPIRATION_DATE=2008-09-19
+CONFLICTS=	emacs-22.* xemacs-packages-\*
 
 INFO=		calc
 


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



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