summaryrefslogtreecommitdiff
path: root/x11/kdebase2/patches/patch-ac
blob: 73234624e6ead1919a8baebb86d4412743a7c2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ac,v 1.2 2001/03/14 20:12:18 skrll Exp $

--- kdm/Makefile.am.orig	Mon Feb 19 11:21:43 2001
+++ kdm/Makefile.am
@@ -12,7 +12,7 @@
 EXTRA_PROGRAMS = greetest
 greetest_SOURCES = greetest.c
 
-AM_CFLAGS = $(STD_DEFINES) $(CONN_FLAGS)
+AM_CFLAGS = $(STD_DEFINES) $(CONN_FLAGS) -DGREETERLIB_DIR=\"@kde_libraries@\"
 
 # this is for static linking - inserted into KDM_GREET_LIBS by configure
 KDM_KDE_LIBS  = $(LIB_KDEUI) -lXau $(PASSLIB) \
@@ -24,7 +24,8 @@
 LDADD = $(LIB_X11) -lXau $(LIBXDMCP) $(PASSLIB) \
     $(LIB_LIBS) $(KERBEROS_LIBS) $(LIBSOCKET) \
     $(LIBCRYPT) $(LIBUCB) $(LIBDL) $(LIBUTIL) $(LIBRESOLV)
-kdm_LDADD = $(LDADD) $(KDM_GREET_LIBS)
+kdm_LDADD = "-dlopen" greeter/libKdmGreet.la $(LDADD) $(KDM_GREET_LIBS)
+kdm_DEPENDENCIES = greeter/libKdmGreet.la
 
 # Sources for kdm:
 kdm_SOURCES = access.c \