summaryrefslogtreecommitdiff
path: root/editors/ng/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-10-19 23:54:37 +0000
committerhubertf <hubertf>2000-10-19 23:54:37 +0000
commit14199ef245b8dc01466c5633e84495b22266b9f2 (patch)
tree34bc7886eb4930232ee0a00b3b08266cf07dc024 /editors/ng/patches
parent7fe06aaa01ee1d048487734ad1284420b353453d (diff)
downloadpkgsrc-14199ef245b8dc01466c5633e84495b22266b9f2.tar.gz
Ng is a very light weight Emacs clone editor, written in C.
It doesn't have Lisp(that means very limited customization is available). Since you can invoke it very quickly (compared with real GNU Emacs), it is useful in dealing with changing small file a bit. Ng(Nihongo Micro Gnu Emacs) is a Mg(Micro Gnu Emacs)'s japanese port. Ng supports EUC, JIS and SJIS code. Ng also have (rather simple) C-mode. It is also very useful even if you don't need Japanese support. Submitted in PR 11240 by Jun Ebihara <jun@soum.co.jp>
Diffstat (limited to 'editors/ng/patches')
-rw-r--r--editors/ng/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/editors/ng/patches/patch-aa b/editors/ng/patches/patch-aa
new file mode 100644
index 00000000000..a660a218b1c
--- /dev/null
+++ b/editors/ng/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/19 23:54:37 hubertf Exp $
+
+--- sys/bsd/Makefile.orig Tue Jun 27 10:48:02 2000
++++ sys/bsd/Makefile Thu Sep 7 06:02:02 2000
+@@ -8,14 +8,17 @@
+ # Modified for Ng 1.0 by Shigeki Yoshida (shige@csk.CO.JP) 1990.01.29
+
+ SYS = bsd
+-LIBS = -L/usr/pkg/lib -lcanna -ltermcap
++LIBS = -L${PREFIX}/lib -ltermcap
++.if ${USE_CANNA} == "YES"
++LIBS += -lcanna
++.endif
+ # CDEFS gets defines, and gets passed to lint. CFLAGS gets flags, and doesn't
+ # get passed to lint.
+ #
+ # Now, compile time options are defined in a "config.h".
+ #
+ CDEFS =
+-CFLAGS = -O2 -I/usr/pkg/include $(CDEFS)
++CFLAGS = -O2 -I${PREFIX}/include $(CDEFS)
+
+ # If your machine don't have an alloca(), please define ALLOCA.
+ #ALLOCA = alloca.o