Date: Sat, 6 Aug 2005 16:56:02 GMT From: Andrew Bernard <andrewb@cs.cmu.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/84622: enhancement to make emacs-calc obey ${PREFIX} Message-ID: <200508061656.j76Gu2pc020862@www.freebsd.org> Resent-Message-ID: <200508061700.j76H0Mwa059298@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84622 >Category: ports >Synopsis: enhancement to make emacs-calc obey ${PREFIX} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 06 17:00:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrew Bernard >Release: 5.4 >Organization: >Environment: FreeBSD dedalus.neglectgravity.com 5.4-RELEASE FreeBSD 5.4-RELEASE #11: Fri Aug 5 22:30:03 EDT 2005 andrew@dedalus.neglectgravity.com:/usr/src/sys/i386/compile/DEDALUS i386 >Description: emacs-calc doesn't use ${PREFIX}. >How-To-Repeat: >Fix: Credit for this goes to John E Hein <jhein@timing.com>. Patch: Index: Makefile =================================================================== RCS file: /base/FreeBSD-CVS/ports/math/emacs-calc/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 13 Jul 2005 15:31:01 -0000 1.1 +++ Makefile 24 Jul 2005 12:01:13 -0000 @@ -18,6 +18,10 @@ RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs +USE_REINPLACE= yes INFO= calc +post-patch: + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile + .include <bsd.port.mk> Index: files/patch-Makefile =================================================================== RCS file: /base/FreeBSD-CVS/ports/math/emacs-calc/files/patch-Makefile,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile --- files/patch-Makefile 13 Jul 2005 15:31:02 -0000 1.1 +++ files/patch-Makefile 24 Jul 2005 11:50:17 -0000 @@ -22,7 +22,7 @@ +# FreeBSD installation + -+prefix = /usr/local ++prefix = %%PREFIX%% +infodir = ${prefix}/info +sharedir = ${prefix}/share +emacssharedir = ${sharedir}/emacs >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508061656.j76Gu2pc020862>