File: support-kfreebsd-hurd-build-ftbfs-490552

package info (click to toggle)
calc 2.12.7.2-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 7,644 kB
  • sloc: ansic: 53,991; makefile: 11,702; awk: 96; sed: 33; sh: 20
file content (24 lines) | stat: -rw-r--r-- 713 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
23
24
Description: Support building on kFreeBSD & Hurd
Bug-Debian: http://bugs.debian.org/490552
Forwarded: no
Author: Petr Salinger <Petr.Salinger@seznam.cz>
Author: Martin Buck <mbuck@debian.org>
---
--- a/Makefile
+++ b/Makefile
@@ -1197,11 +1197,11 @@
 ##########################################################################
 
 #if 0	/* start of skip for non-Gnu makefiles */
-################
-# Linux target #
-################
+######################################################
+# Linux, Debian GNU/kFreeBSD, Debian GNU/Hurd target #
+######################################################
 
-ifeq ($(target),Linux)
+ifneq (,$(filter Linux GNU/kFreeBSD GNU,$(target)))
 #
 BLD_TYPE= calc-dynamic-only
 #