[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

editors/mule



kayです。

  current で mule が -nw を付けないと core を吐いて落ちる現象ですが、
editors/emacs から以下のようなパッチをパクって来たら動くようになりまし
た。

Index: Makefile
===================================================================
RCS file: pkgsrc/editors/mule/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	29 Mar 2003 12:40:44 -0000	1.18
+++ Makefile	6 May 2003 11:59:47 -0000
@@ -14,6 +14,19 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# This matches NetBSD <1.7 releases and 1.6A-1.6P, where ld is <2.13.2.1.
+.if ${OPSYS} == "NetBSD" && \
+    (empty(OS_VERSION:M1.[0-5]*) && \
+     empty(OS_VERSION:M1.6_*) && \
+     empty(OS_VERSION:M1.6) && \
+     empty(OS_VERSION:M1.6.[0-9]*) && \
+     empty(OS_VERSION:M1.6[A-P]*))
+# If using GNU ld 2.13.2.1 or later, avoid creating combined reloc
+# sections and .data reloc sections, both of which Emacs can't handle
+# properly.  Analyzed by Stephen Ma.
+LDFLAGS+=	-Wl,-z,nocombreloc
+.endif
+
 .if !defined(USE_WNN4) || ${USE_WNN4} == YES
 .include "../../inputmethod/ja-freewnn-lib/buildlink2.mk"
 .endif

-- 
吉田恵介@川崎市高津区千年 (kay@kaynet.or.jp)
ホームページ http://www.kaynet.or.jp/~kay/