diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-21 12:25:29 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-21 12:25:29 +0000 |
commit | 3a74de449967a640b64317571d79edfac9b8f9ed (patch) | |
tree | 9f1678abef24693056221d248d75c03e39cb2a36 /japanese/yc.el/files/patch-aa | |
parent | Respect CFLAGS, should fix build on alpha (diff) |
- Update to version 4.0.1
PR: 59540
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=94637
Diffstat (limited to 'japanese/yc.el/files/patch-aa')
-rw-r--r-- | japanese/yc.el/files/patch-aa | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/japanese/yc.el/files/patch-aa b/japanese/yc.el/files/patch-aa new file mode 100644 index 000000000000..941da210b3b3 --- /dev/null +++ b/japanese/yc.el/files/patch-aa @@ -0,0 +1,46 @@ +--- Makefile.orig Sun Nov 9 16:18:10 2003 ++++ Makefile Fri Nov 21 12:59:50 2003 +@@ -1,10 +1,10 @@ +-prefix = /usr/local ++prefix = $(PREFIX) + #exesuffix = .exe # for Windows + +-EMACS = emacs ++#EMACS = emacs + #EMACS = xemacs + +-elispdir = $(prefix)/share/emacs/site-lisp ++elispdir = $(LISPDIR) + #elispdir = $(prefix)/lib/$(EMACS)/site-lisp + #elispdir = $(prefix)/lib/emacs + +@@ -12,8 +12,10 @@ + elc = yc.elc + PROGRAM = icanna$(exesuffix) + OBJS = icanna.o +-CC = gcc +-INSTALL = install ++#CC = gcc ++#INSTALL = install ++ ++.SUFFIXES: .el .elc + + all: $(PROGRAM) $(elc) + +@@ -29,11 +31,13 @@ + install: install-bin install-el + + install-bin: $(PROGRAM) +- $(INSTALL) -m 755 -s $(PROGRAM) $(INSTALL_PATH)/$(PROGRAM) ++ test -f $(INSTALL_PATH) || mkdir -p $(INSTALL_PATH) ++ $(INSTALL_PROGRAM) $(PROGRAM) $(INSTALL_PATH)/$(PROGRAM) + + install-el: $(ELCS) $(SRCS) +- $(INSTALL) -m 755 $(elc) $(elispdir)/$(elc) +- $(INSTALL) -m 755 $(elc:.elc=.el) $(elispdir)/$(elc:.elc=.el) ++ test -f $(elispdir) || mkdir -p $(elispdir) ++ $(INSTALL_SCRIPT) $(elc) $(elispdir)/$(elc) ++ $(INSTALL_SCRIPT) $(elc:.elc=.el) $(elispdir)/$(elc:.elc=.el) + + uninstall: uninstall-bin uninstall-el + |