File: 0001-Fix-FTBFS-for-gnu-kfreebsd.patch

package info (click to toggle)
beanstalkd 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 628 kB
  • sloc: ansic: 7,522; sh: 390; makefile: 112; ruby: 14
file content (22 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Serafeim Zanikolas <sez@debian.org>
Date: Sun, 1 Apr 2012 15:48:45 +0200
Subject: Fix FTBFS for gnu/kfreebsd

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664613
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dc0afb9..e843ad0 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ override LDFLAGS?=
 
 LDLIBS?=
 
-OS?=$(shell uname | tr 'A-Z' 'a-z')
+OS?=$(shell uname | tr 'A-Z' 'a-z' | sed 's?gnu/kfreebsd?freebsd?')
 INSTALL?=install
 PKG_CONFIG?=pkg-config