Debian Codegraph @

debian/patches/fix_build_on_freebsd.patch

raw
1 From: Andreas Tille <[email protected]>
2 Last-Update: 2015-07-10
3 Description: -lrt does not help only for Linux but also for freebsd
4 This is a copy of the patch written for the bwa Debian package.
5 Forwarded: https://github.com/lh3/bwa/pull/312
6
7 --- a/bwa-apache2/Makefile
8 +++ b/bwa-apache2/Makefile
9 @@ -20,6 +20,9 @@
10 ifeq ($(shell uname -s),GNU/kFreeBSD)
11 LIBS += -lrt
12 endif
13 +ifeq ($(shell uname -s),GNU/kFreeBSD)
14 + LIBS += -lrt
15 +endif
16
17 .SUFFIXES:.c .o .cc
18