richard: server/perl-kolab perl-kolab.spec.in, 1.29, 1.30 ChangeLog, 1.11, 1.12 configure.ac, 1.2, 1.3

cvs at intevation.de cvs at intevation.de
Sat Jan 14 23:16:45 CET 2006


Author: richard

Update of /kolabrepository/server/perl-kolab
In directory doto:/tmp/cvs-serv12749

Modified Files:
	perl-kolab.spec.in ChangeLog configure.ac 
Log Message:
* configure.ac: replaced --enable-dist with --with-dist
  Added dist_conf file check.  If dist_conf file specified with
  --with-dist is not present fail configure.
* perl-kolab.spec.in: replaced --enable-dist with --with-dist



Index: perl-kolab.spec.in
===================================================================
RCS file: /kolabrepository/server/perl-kolab/perl-kolab.spec.in,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- perl-kolab.spec.in	20 Dec 2005 14:34:51 -0000	1.29
+++ perl-kolab.spec.in	14 Jan 2006 22:16:43 -0000	1.30
@@ -65,7 +65,7 @@
 #    %{configure} --prefix=%{l_prefix} \
 #		 --includedir=%(eval "`%{l_prefix}/bin/perl -V:installsitearch`"; echo $installsitearch) \
 #		 --dist=kolab
-     %{configure} --prefix=%{l_prefix} --enable-dist=kolab
+     %{configure} --prefix=%{l_prefix} --with-dist=kolab
     make
 
 %install

Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/perl-kolab/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- ChangeLog	14 Jan 2006 21:21:15 -0000	1.11
+++ ChangeLog	14 Jan 2006 22:16:43 -0000	1.12
@@ -1,3 +1,10 @@
+2006-01-14 Marcus Hüwe <suse-tux at gmx.de>
+	Patch commited by Richard Bos
+	* configure.ac: replaced --enable-dist with --with-dist
+	  Added dist_conf file check.  If dist_conf file specified with
+	  --with-dist is not present fail configure.
+	* perl-kolab.spec.in: replaced --enable-dist with --with-dist
+
 2006-01-14 Richard Bos <richard at radoeka.nl>
 	* Kolab/Kolab.pm.in: check for valid uid/gid values with perl define
 	  instead of the value.  The current check failed for root, as that

Index: configure.ac
===================================================================
RCS file: /kolabrepository/server/perl-kolab/configure.ac,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- configure.ac	19 Dec 2005 21:58:48 -0000	1.2
+++ configure.ac	14 Jan 2006 22:16:43 -0000	1.3
@@ -10,11 +10,15 @@
 common=dist_conf/common
 AC_SUBST_FILE(common)
 
-AC_ARG_ENABLE([dist],
-  [AC_HELP_STRING([--enable-dist=DIST],
+AC_ARG_WITH([dist],
+  [AC_HELP_STRING([--with-dist=DIST],
      [distribution target (default: openpkg)])],
-     [distribution=$srcdir/dist_conf/$enable_dist],
+     [distribution=$srcdir/dist_conf/$withval],
    [distribution=$srcdir/dist_conf/kolab])
+
+AS_IF([test -f $distribution],,
+	AC_MSG_ERROR([incorrect value for --with-dist: $withval])
+)
 AC_SUBST_FILE(distribution)
 
 # Checks for libraries.





More information about the commits mailing list