File: force-swig-rebuild.patch

package info (click to toggle)
libmath-gsl-perl 0.42-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 155,120 kB
  • sloc: ansic: 676,323; perl: 24,277; makefile: 12
file content (18 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: force a swig rebuild
 which is skipped for "releases" (i.e. when there's no .git directory)
Origin: vendor
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-06-24

--- a/inc/GSLBuilder.pm
+++ b/inc/GSLBuilder.pm
@@ -12,7 +12,7 @@ use base 'Module::Build';
 use Ver2Func;
 
 sub is_release {
-    return -e '.git' ? 0 : 1;
+    return 0;
 }
 
 sub process_swig_files {