summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches/patch-af
blob: 5a042bc67725c7e9cddbde8f0e2a6d4c801a91b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-af,v 1.2 2003/04/11 04:00:18 uebayasi Exp $

--- src/Makefile.in.orig	Thu Mar 27 12:43:25 2003
+++ src/Makefile.in
@@ -329,7 +329,7 @@
 #ifdef USE_X_TOOLKIT
 #define @X_TOOLKIT_TYPE@
 #if defined (LUCID) || defined (ATHENA)
-LIBW= -lXaw
+LIBW= -lXaw @LIBXPM@
 #endif
 #ifdef MOTIF
 #if defined (HAVE_MOTIF_2_1) && defined (HAVE_LIBXP)
@@ -402,7 +402,7 @@
    ask GCC explicitly where to find libgcc.a.  */
 
 #ifndef LINKER
-#define LINKER $(CC) -nostdlib
+#define LINKER $(CC) -nostartfiles
 #endif
 
 #ifndef LIB_GCC
@@ -804,14 +804,7 @@
 #define OBJECTS_MACHINE
 #endif
 
-all: emacs bytecomp OTHER_FILES
-
-bytecomp: emacs
-	./emacs -batch -q -f batch-byte-compile \
-	${lispsource}ange-ftp.el ${lispsource}international/ccl.el \
-	${lispsource}international/mule-cmds.el \
-	${lispsource}international/mule.el \
-	${lispsource}international/titdic-cnv.el
+all: emacs OTHER_FILES
 
 emacs: temacs ${etc}DOC ${lisp}
 #ifdef CANNOT_DUMP