summaryrefslogtreecommitdiff
path: root/dev-lang/moarvm/files/Configure-9999.patch
blob: 85bbb5d81dacc894e0fde842d4625a731e1b9625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Configure.pl        2014-01-09 16:48:13.989620752 +0800
+++ Configure.pl.new    2014-01-09 16:49:41.217885279 +0800
@@ -94,11 +94,7 @@
     $VERSION = <$fh>;
     close($fh);
 }
-# .git is a file and not a directory in submodule
-if (-e '.git' && open(my $GIT, '-|', "git describe --tags")) {
-    $VERSION = <$GIT>;
-    close($GIT);
-}
+
 chomp $VERSION;
 $config{version}      = $VERSION;
 $config{versionmajor} = $VERSION =~ /^(\d+)/ ? $1 : 0;