pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/rsltc Set load-path during byte-compile to make ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/36ee5d61edb4
branches: trunk
changeset: 396882:36ee5d61edb4
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Aug 05 09:47:50 2009 +0000
description:
Set load-path during byte-compile to make sure that rsltc.el is found.
diffstat:
devel/rsltc/Makefile | 7 +++++--
devel/rsltc/files/path.el | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 1b16d1b0cbad -r 36ee5d61edb4 devel/rsltc/Makefile
--- a/devel/rsltc/Makefile Wed Aug 05 08:45:11 2009 +0000
+++ b/devel/rsltc/Makefile Wed Aug 05 09:47:50 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/10/11 09:31:55 uebayasi Exp $
+# $NetBSD: Makefile,v 1.11 2009/08/05 09:47:50 minskim Exp $
#
DISTNAME= rsltcsrc
@@ -22,11 +22,14 @@
WRKSRC= ${WRKDIR}/rsl.2.4
INSTALLATION_DIRS= bin
+post-extract:
+ ${CP} ${FILESDIR}/path.el ${WRKSRC}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rsltc ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl
(cd ${WRKSRC} ; for i in rsltc.el tokenise.el rslconvert.el rsl-mode.el ; do\
- ${EMACS_BIN} -batch -f batch-byte-compile $$i ;\
+ ${EMACS_BIN} -batch -l path.el -f batch-byte-compile $$i ;\
${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl ;\
${INSTALL_DATA} $${i}c ${DESTDIR}${PREFIX}/share/emacs/site-lisp/rsl ;\
done)
diff -r 1b16d1b0cbad -r 36ee5d61edb4 devel/rsltc/files/path.el
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rsltc/files/path.el Wed Aug 05 09:47:50 2009 +0000
@@ -0,0 +1,1 @@
+(setq load-path (cons "." load-path))
Home |
Main Index |
Thread Index |
Old Index