[med-svn] r21916 - trunk/packages/R/r-bioc-rtracklayer/trunk/debian/patches
Andreas Tille
tille at moszumanska.debian.org
Tue May 10 08:09:39 UTC 2016
Author: tille
Date: 2016-05-10 08:09:36 +0000 (Tue, 10 May 2016)
New Revision: 21916
Added:
trunk/packages/R/r-bioc-rtracklayer/trunk/debian/patches/remove_broken_test.patch
Log:
Add another way to circumvent broken configure file just for documentational reasons not for real usage
Added: trunk/packages/R/r-bioc-rtracklayer/trunk/debian/patches/remove_broken_test.patch
===================================================================
--- trunk/packages/R/r-bioc-rtracklayer/trunk/debian/patches/remove_broken_test.patch (rev 0)
+++ trunk/packages/R/r-bioc-rtracklayer/trunk/debian/patches/remove_broken_test.patch 2016-05-10 08:09:36 UTC (rev 21916)
@@ -0,0 +1,37 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 09 May 2016 12:46:31 +0200
+Description: Remove broken test from configure script
+ Something like this was suggested by Dirk Eddelbuettel <edd at debian.org> at
+ https://lists.alioth.debian.org/pipermail/debian-med-packaging/2016-May/042034.html
+ But this patch has not the effect that -DUSE_SSL is included in the
+ compiler options and thus I'll stick to simply remove configure at all
+ (see delete_configure.patch).
+
+--- a/configure
++++ b/configure
+@@ -1142,24 +1142,10 @@ $as_echo X"$as_myself" |
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+- if test ! -r "$srcdir/$ac_unique_file"; then
+- srcdir=..
+- fi
+ else
+ ac_srcdir_defaulted=no
+ fi
+-if test ! -r "$srcdir/$ac_unique_file"; then
+- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+-fi
+-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+-ac_abs_confdir=`(
+- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+- pwd)`
+-# When building in place, set srcdir=.
+-if test "$ac_abs_confdir" = "$ac_pwd"; then
+- srcdir=.
+-fi
++srcdir=.
+ # Remove unnecessary trailing slashes from srcdir.
+ # Double slashes in file names in object file debugging info
+ # mess up M-x gdb in Emacs.
More information about the debian-med-commit
mailing list