This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository bwa.

commit 445f8d3bc27d508df55ef4de0d44d54e8d767599
Author: Andreas Tille <[email protected]>
Date:   Fri Jul 10 18:25:25 2015 +0200

    Enable building on freebsd
---
 debian/changelog                          |  6 ++++++
 debian/patches/fix_build_on_freebsd.patch | 16 ++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 24ff840..1a5e051 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bwa (0.7.12-3) unstable; urgency=medium
+
+  * Enable building on freebsd
+
+ -- Andreas Tille <[email protected]>  Fri, 10 Jul 2015 18:24:53 +0200
+
 bwa (0.7.12-2) unstable; urgency=medium
 
   * Upload to Unstable.
diff --git a/debian/patches/fix_build_on_freebsd.patch 
b/debian/patches/fix_build_on_freebsd.patch
new file mode 100644
index 0000000..66885e0
--- /dev/null
+++ b/debian/patches/fix_build_on_freebsd.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <[email protected]>
+Last-Update: Fri, 10 Jul 2015 18:23:26 +0200
+Description: -lrt does not help only for Linux but also for freebsd
+
+--- a/Makefile
++++ b/Makefile
+@@ -17,6 +17,9 @@ SUBDIRS=     .
+ ifeq ($(shell uname -s),Linux)
+       LIBS += -lrt
+ endif
++ifeq ($(shell uname -s),GNU/kFreeBSD)
++      LIBS += -lrt
++endif
+ 
+ .SUFFIXES:.c .o .cc
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b2460fc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_build_on_freebsd.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/bwa.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to