[Pkg-samba-maint] r3017 - in trunk/samba/debian: . patches
vorlon at alioth.debian.org
vorlon at alioth.debian.org
Tue Sep 8 02:29:29 UTC 2009
Author: vorlon
Date: 2009-09-08 02:29:29 +0000 (Tue, 08 Sep 2009)
New Revision: 3017
Added:
trunk/samba/debian/patches/external-tdb-support.patch
Modified:
trunk/samba/debian/changelog
trunk/samba/debian/patches/series
Log:
debian/patches/external-tdb-support.patch: fix the Makefile so it works
when using external tdb instead of giving a missing-depend error.
Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog 2009-09-08 02:13:01 UTC (rev 3016)
+++ trunk/samba/debian/changelog 2009-09-08 02:29:29 UTC (rev 3017)
@@ -28,6 +28,8 @@
* Add missing build-dependency on pkg-config, needed to fix libtdb
detection (which will make the package FTBFS until the makefile
substitutions are fixed)
+ * debian/patches/external-tdb-support.patch: fix the Makefile so it works
+ when using external tdb instead of giving a missing-depend error.
-- Steve Langasek <vorlon at debian.org> Sun, 23 Aug 2009 22:35:16 -0700
Added: trunk/samba/debian/patches/external-tdb-support.patch
===================================================================
--- trunk/samba/debian/patches/external-tdb-support.patch (rev 0)
+++ trunk/samba/debian/patches/external-tdb-support.patch 2009-09-08 02:29:29 UTC (rev 3017)
@@ -0,0 +1,40 @@
+Index: samba-deb.clean/source3/Makefile.in
+===================================================================
+--- samba-deb.clean.orig/source3/Makefile.in
++++ samba-deb.clean/source3/Makefile.in
+@@ -1694,11 +1694,11 @@
+ LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
+ LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
+ LIBTALLOC=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
+-LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc. at SYMSEXT@
+-LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
++ at NO_LIBTALLOC@LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc. at SYMSEXT@
++ at NO_LIBTALLOC@LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
+
+-$(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
+- @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
++ at NO_LIBTALLOC@$(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
++ at NO_LIBTALLOC@ @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
+
+ $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
+ @echo Linking shared library $@
+Index: samba-deb.clean/source3/configure.in
+===================================================================
+--- samba-deb.clean.orig/source3/configure.in
++++ samba-deb.clean/source3/configure.in
+@@ -33,6 +33,7 @@
+ [ enable_external_libtalloc=yes ],
+ [ if x$enable_external_libtalloc = xyes; then
+ AC_MSG_ERROR([Unable to find libtalloc])
++ NO_LIBTALLOC='#'
+ else
+ enable_external_libtalloc=no
+ fi
+@@ -49,6 +50,7 @@
+ LIBTALLOC_OBJ0="${LIBTALLOC_OBJ0} ${tallocdir}/${obj}"
+ done
+ AC_SUBST(LIBTALLOC_OBJ0)
++AC_SUBST(NO_LIBTALLOC)
+
+ m4_include(../lib/tevent/libtevent.m4)
+
Modified: trunk/samba/debian/patches/series
===================================================================
--- trunk/samba/debian/patches/series 2009-09-08 02:13:01 UTC (rev 3016)
+++ trunk/samba/debian/patches/series 2009-09-08 02:29:29 UTC (rev 3017)
@@ -13,3 +13,4 @@
fix-manpages-warnings.patch
codepages-location.patch
536757.patch
+external-tdb-support.patch
More information about the Pkg-samba-maint
mailing list