summaryrefslogtreecommitdiff
path: root/news/knews/patches/patch-ad
blob: d392ef5b8c97c1e8423c7cd22ad5609af6510c5f (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
$NetBSD: patch-ad,v 1.6 2001/07/24 17:18:38 tron Exp $

--- src/Imakefile.orig	Sat Nov 21 16:31:37 1998
+++ src/Imakefile	Tue Jul 24 19:13:44 2001
@@ -5,6 +5,8 @@
 #undef MAIL_COMMAND
 #undef EDIT_COMMAND
 
+LDPRELIBS	=
+
 XMU_LIB		=
 XPM_LIB		=
 REGEXP_LIB	=
@@ -16,11 +18,11 @@
 #endif
 
 #if HAVE_XMU
-XMU_LIB		= -lXmu
+XMU_LIB		= $(LDPRELIB) -lXmu
 #endif
 
 #if HAVE_XPM
-XPM_LIB		= -lXpm
+XPM_LIB		= -Wl,-R$(USRLIBDIR) -lXpm
 #endif
 
 #if !HAVE_JPEG