Hi
I just downloaded and installed BBDB 2.35. I had to apply the
changes in the patch at the end of the message in order to
byte-compile it.
The point is that the Makefiles don't allow spaces in the
$(EMACS_PROG). So I quoted all occurrences in the Makefile.in,
and adding a $(EMACS_OPTS) for the extra options (because if they
remain in $(EMACS_PROG), they will be part of the program name).
Regards,
--drkm
diff -aur bbdb-2.35-ORIG/Makefile.in bbdb-2.35/Makefile.in
--- bbdb-2.35-ORIG/Makefile.in 2002-01-16 00:00:54.000000000 +0100
+++ bbdb-2.35/Makefile.in 2005-07-21 14:52:20.000000000 +0200
@@ -8,7 +8,8 @@
LN_S = @LN_S@
ETAGS = @ETAGS@
-EMACS_PROG = @EMACS_PROG@ -no-site-file -no-init-file
+EMACS_PROG = @EMACS_PROG@
+EMACS_OPTS = -no-site-file -no-init-file
SUBDIRS = lisp texinfo tex utils
diff -aur bbdb-2.35-ORIG/lisp/Makefile.in bbdb-2.35/lisp/Makefile.in
--- bbdb-2.35-ORIG/lisp/Makefile.in 2002-01-07 10:00:08.000000000 +0100
+++ bbdb-2.35/lisp/Makefile.in 2005-07-21 14:54:12.000000000 +0200
@@ -8,7 +8,8 @@
RM = @RM@
LN_S = @LN_S@
-EMACS_PROG = @EMACS_PROG@ -no-site-file -no-init-file
+EMACS_PROG = @EMACS_PROG@
+EMACS_OPTS = -no-site-file -no-init-file
GNUSDIR = @GNUSDIR@
MHEDIR = @MHEDIR@
@@ -100,7 +101,7 @@
@echo " (defmacro define-widget (&rest args)" >> $@;
@echo " nil)))" >> $@;
@echo "" >> $@;
- @$(EMACS_PROG) -batch -q -l autoload \
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q -l autoload \
--eval '(setq generated-autoload-file "'`pwd`'/$@")' \
--eval "(if (featurep 'xemacs) (delete-file
generated-autoload-file))" \
--eval '(setq make-backup-files nil)' \
@@ -108,7 +109,7 @@
-f batch-update-autoloads `pwd`
bbdb-autoloads.elc: bbdb-autoloads.el
- @$(EMACS_PROG) -batch -q -f batch-byte-compile ./$^
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q -f batch-byte-compile ./$^
bbdb.elc: bbdb.el
bbdb-com.elc: bbdb.elc bbdb-com.el
@@ -123,37 +124,38 @@
bbdb-xemacs.elc: bbdb.elc bbdb-xemacs.el
.el.elc:
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc -f
batch-byte-compile $<
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc \
+ -f batch-byte-compile $<
bbdb.elc: bbdb.el
- @$(EMACS_PROG) -batch -q -f batch-byte-compile ./bbdb.el
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q -f batch-byte-compile ./bbdb.el
bbdb-gnus.elc: bbdb.elc bbdb-gnus.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc $(GNUS) \
- -f batch-byte-compile $(@:.elc=.el)
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc \
+ $(GNUS) -f batch-byte-compile $(@:.elc=.el)
bbdb-mhe.elc: bbdb.elc bbdb-mhe.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc $(MHE) \
- -f batch-byte-compile $(@:.elc=.el)
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc \
+ $(MHE) -f batch-byte-compile $(@:.elc=.el)
bbdb-rmail.elc: bbdb.elc bbdb-rmail.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc $(RMAIL) \
- -f batch-byte-compile $(@:.elc=.el)
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc \
+ $(RMAIL) -f batch-byte-compile $(@:.elc=.el)
bbdb-vm.elc: bbdb.elc bbdb-vm.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc $(VM) \
- -f batch-byte-compile $(@:.elc=.el)
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc \
+ $(VM) -f batch-byte-compile $(@:.elc=.el)
bbdb-srv.elc: bbdb.elc bbdb-srv.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc -eval '(progn (or
(fboundp (quote define-obsolete-variable-alias)) (if (locate-library
"gnuserv-compat") (load "gnuserv-compat" t t))) (if (and (locate-library
"gnuserv") (locate-library "itimer")) (byte-compile-file "bbdb-srv.el")
(message "Optional package bbdb-srv skipped - gnuserv not found")))'
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc
-eval '(progn (or (fboundp (quote define-obsolete-variable-alias)) (if
(locate-library "gnuserv-compat") (load "gnuserv-compat" t t))) (if (and
(locate-library "gnuserv") (locate-library "itimer")) (byte-compile-file
"bbdb-srv.el") (message "Optional package bbdb-srv skipped - gnuserv not
found")))'
bbdb-reportmail.elc: bbdb.elc bbdb-reportmail.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc -eval '(if
(locate-library "reportmail") (byte-compile-file "bbdb-reportmail.el") (message
"Optional package bbdb-reportmail skipped - reportmail not found"))'
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc
-eval '(if (locate-library "reportmail") (byte-compile-file
"bbdb-reportmail.el") (message "Optional package bbdb-reportmail skipped -
reportmail not found"))'
bbdb-sc.elc: bbdb.elc bbdb-sc.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc -eval '(if
(locate-library "supercite") (byte-compile-file "bbdb-sc.el") (message
"Optional package bbdb-sc skipped - supercite not found"))'
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc
-eval '(if (locate-library "supercite") (byte-compile-file "bbdb-sc.el")
(message "Optional package bbdb-sc skipped - supercite not found"))'
# bbdb-hooks uses VM macros if it can find VM.
bbdb-hooks.elc: bbdb.elc bbdb-hooks.el
- @$(EMACS_PROG) -batch -q $(PUSHPATH) -l ./bbdb.elc \
+ @"$(EMACS_PROG)" $(EMACS_OPTS) -batch -q $(PUSHPATH) -l ./bbdb.elc \
-eval '(and (not (string= "$(VMDIR)" "")) \
(setq load-path (cons "$(VMDIR)" load-path)) \
(load "vm" t t) \
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/