summaryrefslogtreecommitdiff
blob: bbb51d056de43a0c397239b142e4234a9557726f (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
--- /tmp/GNUmakefile	2010-09-06 00:35:53.502999999 +0200
+++ /var/tmp/portage/net-mail/fdm-1.6/work/fdm-1.6/GNUmakefile	2010-09-06 00:36:01.059000000 +0200
@@ -16,7 +16,7 @@
 CC= gcc
 
 INCDIRS= -I$(PREFIX)/include
-LDFLAGS= -L$(PREFIX)/lib
+LDFLAGS+= -L$(PREFIX)/lib
 
 ifeq ($(shell uname),SunOS)
 YACC= yacc
@@ -89,7 +89,7 @@
 
 ifdef COURIER
 CFLAGS+= -DLOOKUP_COURIER
-LIBS+= -lcourierauth
+LIBS+= -L/usr/lib64/courier-authlib -lcourierauth
 endif
 
 ifdef PCRE
@@ -104,7 +104,7 @@
 all: fdm
 
 $(PROG): $(OBJS)
-	$(CC) $(LDFLAGS) $(LIBS) -o $@ $+
+	$(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
 
 depend: $(SRCS)
 	$(CC) $(CPPFLAGS) -MM $(SRCS) > .depend