summaryrefslogtreecommitdiff
path: root/editors/ng/patches
diff options
context:
space:
mode:
authorjun <jun@pkgsrc.org>2001-03-18 01:16:50 +0000
committerjun <jun@pkgsrc.org>2001-03-18 01:16:50 +0000
commitabe88a9e684e941b67d569277259063fda6f3b1f (patch)
tree9d99de0dba70795b0a44a35c42ae63e4cabba553 /editors/ng/patches
parentb8407e12db59442e8c3b5cc85f219988ef0f1940 (diff)
downloadpkgsrc-abe88a9e684e941b67d569277259063fda6f3b1f.tar.gz
Update
ng-1.4 to ng-1.4.3 PR update patch made by Hiroyuki Yanai <fk200329@fsinet.or.jp> >Number: 12211 >Category: pkg >Synopsis: editors/ng is upgraded to v1.4.3. >Originator: Hiroyuki Yanai Changes: - Code clean up for ANSI-C - dired can treat symbolic link - Undo bug fix - fill-paragraph loop bug fix
Diffstat (limited to 'editors/ng/patches')
-rw-r--r--editors/ng/patches/patch-aa35
1 files changed, 17 insertions, 18 deletions
diff --git a/editors/ng/patches/patch-aa b/editors/ng/patches/patch-aa
index 8b09278f64c..c0d1220b9c6 100644
--- a/editors/ng/patches/patch-aa
+++ b/editors/ng/patches/patch-aa
@@ -1,24 +1,23 @@
-$NetBSD: patch-aa,v 1.2 2000/12/15 20:02:02 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2001/03/18 01:16:51 jun 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/Makefile.orig Sun Oct 1 00:59:42 2000
++++ sys/bsd/Makefile Thu Feb 15 18:28:30 2001
+@@ -13,12 +13,15 @@
SYS = bsd
--LIBS = -L/usr/pkg/lib -lcanna -ltermcap
-+LIBS = -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -ltermcap
+
+ # Canna configurations (ex. for NetBSD)
+-#CANNADEF = -DCANNA
+-#CANNALIB = -L/usr/pkg/lib -lcanna
+-#CANNAINC = -I/usr/pkg/include
+.if ${USE_CANNA} == "YES"
-+LIBS += -lcanna
++CANNADEF = -DCANNA
++CANNALIB = -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lcanna
++CANNAINC = -I${PREFIX}/include
++.else
+ CANNADEF =
+ CANNALIB =
+ CANNAINC =
+.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