summaryrefslogtreecommitdiff
path: root/graphics/xpm/patches/patch-ab
blob: e60cc25b903231d55e2937758e0086d1ef4018d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.3 2001/06/09 11:41:36 tron Exp $

--- sxpm/Imakefile.orig	Thu Mar 19 14:51:01 1998
+++ sxpm/Imakefile	Sat Jun  9 03:33:04 2001
@@ -60,8 +60,13 @@
 #endif
 
 XCOMM try hard to set things so we'll find the shared lib once installed
+#ifdef X11ProjectRoot
+LD_RUN_PATH = $(USRLIBDIR):$(XPROJECTROOT)/lib:$(XPMLIBDIR)
+USRLIBDIRPATH = $(USRLIBDIR):$(XPROJECTROOT)/lib:$(XPMLIBDIR)
+#else
 LD_RUN_PATH = $(USRLIBDIR):$(XPMLIBDIR)
 USRLIBDIRPATH = $(USRLIBDIR):$(XPMLIBDIR)
+#endif
 
 #if ProjectX < 603
 # ifdef HPArchitecture