summaryrefslogtreecommitdiff
path: root/x11/kdebase/patches/patch-ag
blob: 13dd76e5e1b7d8492b27aefcf384cb19c761c7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ag,v 1.5 2001/09/10 08:23:19 skrll Exp $

--- kdm/Makefile.in.orig	Tue Sep  7 16:20:54 1999
+++ kdm/Makefile.in
@@ -101,7 +101,7 @@
 LIBXDMCP = @LIBXDMCP@
 LIBZ = @LIBZ@
 LIB_KAB = @LIB_KAB@
-LIB_KDECORE = @LIB_KDECORE@
+LIB_KDECORE = @prefix@/lib/libkdecore.a -lXext $(LIB_QT)
 LIB_KDEUI = @LIB_KDEUI@
 LIB_KDEUTIL = @LIB_KDEUTIL@
 LIB_KFILE = @LIB_KFILE@
@@ -233,7 +233,7 @@
 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
 CXXLD = $(CXX)
 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -DPREFIX=\"${prefix}\"
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)