[csw-devel] SF.net SVN: gar:[14160] csw/mgar/pkg/bacula/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Apr 13 19:42:04 CEST 2011


Revision: 14160
          http://gar.svn.sourceforge.net/gar/?rev=14160&view=rev
Author:   bdwalton
Date:     2011-04-13 17:42:04 +0000 (Wed, 13 Apr 2011)

Log Message:
-----------
bacula/trunk: correct the autoconf AC_INIT use and rebuild configure to make docdir work properly

Modified Paths:
--------------
    csw/mgar/pkg/bacula/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/bacula/trunk/files/0001-correct-the-autoconf-initializations.patch

Modified: csw/mgar/pkg/bacula/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bacula/trunk/Makefile	2011-04-13 15:54:20 UTC (rev 14159)
+++ csw/mgar/pkg/bacula/trunk/Makefile	2011-04-13 17:42:04 UTC (rev 14160)
@@ -10,6 +10,7 @@
 
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES  = $(DISTNAME).tar.gz
+PATCHFILES += 0001-correct-the-autoconf-initializations.patch
 
 BUILD_DEP_PKGS  = CSWmysql5devel CSWiconv CSWtcpwrap CSWossldevel
 BUILD_DEP_PKGS += CSWreadline CSWggettext-dev
@@ -40,3 +41,10 @@
 TEST_SCRIPTS =
 
 include gar/category.mk
+
+pre-configure-modulated:
+	(cd $(WORKSRC); \
+		autoconf --prepend-include=$(abspath $(WORKSRC))/autoconf \
+			autoconf/configure.in > configure; \
+        chmod 755 configure)
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/bacula/trunk/files/0001-correct-the-autoconf-initializations.patch
===================================================================
--- csw/mgar/pkg/bacula/trunk/files/0001-correct-the-autoconf-initializations.patch	                        (rev 0)
+++ csw/mgar/pkg/bacula/trunk/files/0001-correct-the-autoconf-initializations.patch	2011-04-13 17:42:04 UTC (rev 14160)
@@ -0,0 +1,27 @@
+From 7abbac2b02f54436652774ec86107105ef220db8 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Wed, 13 Apr 2011 15:48:18 +0200
+Subject: [PATCH] correct the autoconf initializations
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ autoconf/configure.in |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/autoconf/configure.in b/autoconf/configure.in
+index 0ce9d94..45c623a 100644
+--- a/autoconf/configure.in
++++ b/autoconf/configure.in
+@@ -4,7 +4,8 @@ dnl Process this file with autoconf to produce a configure script.
+ dnl
+ dnl require a recent autoconf
+ AC_PREREQ(2.61)
+-AC_INIT(src/version.h)
++AC_INIT([bacula], [5.0.3])
++AC_CONFIG_SRCDIR(src/version.h)
+ BUILD_DIR=`pwd`
+ cd ..
+ TOP_DIR=`pwd`
+-- 
+1.7.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list