1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/astro/merkaartor/files/patch-git_a6f3d9f2
Raphael Kubo da Costa e7a63d1ec4 Update to 0.18.2 and unmark BROKEN.
0.18.2 was released a while ago, and includes support for GDAL 2.0. Other
noteworthy changes:
- Set LICENSE_FILE.
- Use quazip from ports instead of building a bundled copy.
- Switch to using Qt5 instead of Qt4.

PR:		205675
Approved by:	Oliver Heesakkers <dev2@heesakkers.info> (maintainer)
MFH:		2015Q4
2015-12-31 10:11:30 +00:00

23 lines
750 B
Plaintext

From a6f3d9f2133e3656b9c63441c600a7219b54450c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ladislav=20L=C3=A1ska?= <krakonos@krakonos.org>
Date: Mon, 27 Jul 2015 11:01:52 +0200
Subject: [PATCH] Fixed version info in tarballs.
--- src/Config.pri.orig 2015-07-19 14:50:09 UTC
+++ src/Config.pri
@@ -1,7 +1,12 @@
# see http://merkaartor.be/wiki/merkaartor/Compiling
-REVISION = $$system(git describe --tags)
-VERSION = $$system(git describe --tags | sed "'s/-g.*//;s/-/./g'")
+REVISION = $$system(git describe --tags 2> /dev/null)
+VERSION = $$system(git describe --tags 2> /dev/null | sed "'s/-g.*//;s/-/./g'")
+isEmpty( REVISION ) {
+ REVISION = $$system(head -n 1 ../CHANGELOG | sed "'s/^v//'")
+ VERSION = $$REVISION
+}
+
ARCH=""
BITS=""
win32 {