ports/124859: [patch] Correctly note emacs-calc dependency/compatability info

Peter Jeremy peterjeremy at optushome.com.au
Sat Jun 21 23:00:14 UTC 2008

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 23:00:13 UTC 2008
>Originator:     Peter Jeremy
>Release:        7.0-STABLE
FreeBSD server.vk2pj.dyndns.org 7.0-STABLE FreeBSD 7.0-STABLE #18: Sun May 18 15:02:39 EST 2008     root at server.vk2pj.dyndns.org:/var/obj/k7/usr/src/sys/server  i386

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.

cd /home/ports/math/emacs-calc && make

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 at 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
+CONFLICTS=	emacs-22.* xemacs-packages-\*
 INFO=		calc


More information about the freebsd-ports-bugs mailing list