blob: 12da520c3cbb192b336b7a2b330e85db4427d702 (
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
|
$NetBSD: patch-ae,v 1.2 2006/08/02 15:15:36 kristerw Exp $
--- packages/xpce/pl/src/Makefile.orig 2006-08-02 02:49:06.000000000 +0200
+++ packages/xpce/pl/src/Makefile 2006-08-02 02:51:19.000000000 +0200
@@ -33,7 +33,7 @@
OBJDIR= ../../$(builddir)/pl
CONFIG= ../../$(builddir)/config.h
-CPLIFLAGS= -I$(PLINCL) -I../../$(builddir) -I../../src
+CPLIFLAGS= -I$(PLINCL) -I../../$(builddir) -I../../src -I${X11BASE}/include
PL= pl
PLLD= plld -pl $(PL)
ITFOBJ= $(addprefix $(OBJDIR)/, interface.o link.o pcecall.o)
@@ -114,14 +114,14 @@
fi
sopce$(XPCESO):
- LD_RUN_PATH="$(libdir):$$LD_RUN_PATH"; \
+ LD_RUN_PATH="$(libdir):${X11BASE}/lib:$$LD_RUN_PATH"; \
export LD_RUN_PATH; \
$(PLLD) -shared $(SOITF) $(LDFLAGS) -L$(XLIB) -L$(LIBDIR) -lXPCE -o $(XPCESO);
axpce$(XPCESO):
- LD_RUN_PATH="$(libdir):$$LD_RUN_PATH"; \
+ LD_RUN_PATH="$(libdir):${X11BASE}/lib:$$LD_RUN_PATH"; \
export LD_RUN_PATH; \
$(PLLD) -shared $(LDFLAGS) $(SOITF) $(SOEXTR) -L$(LIBDIR) \
- -lXPCE $(GCCLIB) -L$(XLIB) $(XLIBS) $(NETLIBS) -o $(XPCESO);
+ -lXPCE $(GCCLIB) -L$(XLIB) -Wl,-R${XLIB} -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib $(XLIBS) $(NETLIBS) -o $(XPCESO);
################################################################$
# QLF generation
|