[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

openldap2



Hello folks,

When trying to rebuild the openldap2 package I was rather surprised that
all it took was to add a LIBS = -lpthread into the debian/rules
So, it would be nice if someone else could try to rebuild it as well
just to make sure :)

Anyway, I include the diff to the debian/rules at the end of the mail
(and inline to make everyone happy ;)

The actual packages are apt-gettable at http://packages.physicman.net/
as usual ;)

Best regards,

Chris

-- 
 ,''`.  Christopher `Physicman' Bodenstein <cb@physicman.net>
 : :' :  Physicman.Net     :   http://www.physicman.net/ 
 `. `'   Debian GNU/Linux  :   http://www.debian.org/
   `-    Debian IPv6       :   http://debian.fabbione.net/


--- openldap2-2.1.30/debian/rules	2005-01-24 13:39:11.000000000 +0100
+++ openldap2-2.1.30/debian/rules	2005-01-23 22:11:46.000000000 +0100
@@ -18,6 +18,8 @@
 INSTALL_PROGRAM += -s
 endif
 
+LIBSFLAGS = -lpthread
+
 CONFIG	      = $(shell grep -v "^\#" debian/configure.options)
 
 rootdir		:= $(shell pwd)
@@ -27,7 +29,7 @@
 
 $(builddir)/Makefile:
 	mkdir -p $(builddir)
-	autoconf && autoheader && cd $(builddir) && CFLAGS="$(CFLAGS)" $(rootdir)/configure \
+	autoconf && autoheader && cd $(builddir) && CFLAGS="$(CFLAGS)" LIBS="$(LIBSFLAGS)" $(rootdir)/configure \
 		$(CONFIG) 
 	perl debian/check_config
 	$(MAKE) -C $(builddir) depend

Attachment: signature.asc
Description: Digital signature


Reply to: