--- pdns-3.1/modules/mongodbbackend/Makefile.in.orig 2012-05-04 12:15:45.000000000 +0200 +++ pdns-3.1/modules/mongodbbackend/Makefile.in 2012-09-17 23:10:01.000000000 +0200 @@ -259,10 +259,10 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = @THREADFLAGS@ $(BOOST_CPPFLAGS) EXTRA_DIST = OBJECTFILES OBJECTLIBS -INCLUDES = -I/opt/mongo/include/mongo/ +INCLUDES = -I/usr/include/mongo/ lib_LTLIBRARIES = libmongodbbackend.la libmongodbbackend_la_SOURCES = mongodbbackend.cc mongodbbackend.hh minimal.cc slave.cc master.cc reload.cc private.cc dnssec.cc supermaster.cc crc32.cc -libmongodbbackend_la_LDFLAGS = -module -avoid-version -L/opt/mongo/lib64 $(BOOST_THREAD_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) -lmongoclient $(BOOST_THREAD_LIBS) $(BOOST_FILESYSTEM_LIBS) $(BOOST_SYSTEM_LIBS) +libmongodbbackend_la_LDFLAGS = -module -avoid-version $(BOOST_THREAD_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) -lmongoclient $(BOOST_THREAD_LIBS) $(BOOST_FILESYSTEM_LIBS) $(BOOST_SYSTEM_LIBS) all: all-am .SUFFIXES: