--- device-mapper.1.02.28.orig/dmeventd/Makefile.in	2008-06-27 09:36:51.000000000 -0600
+++ device-mapper.1.02.28/dmeventd/Makefile.in	2009-02-19 00:21:18.000000000 -0700
@@ -31,8 +31,7 @@
 
 include ../make.tmpl
 
-LDFLAGS += -ldl -ldevmapper -lpthread
-CLDFLAGS += -ldl -ldevmapper -lpthread
+LIBS += -ldl -ldevmapper -lpthread
 
 dmeventd: $(LIB_SHARED) $(VERSIONED_SHLIB) dmeventd.o
 	$(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \