[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#316759: Please add support for GNU/kFreeBSD



Package: gcc-defaults
Version: 1.22
Severity: important
Tags: patch

Hi,

Please find below a patch to support GNU/kFreeBSD. Could you please
include it in the next version?

Thanks in advance,
Aurelien


diff -Nur gcc-defaults-1.22.orig/debian/rules gcc-defaults-1.22/debian/rules
--- gcc-defaults-1.22.orig/debian/rules	2005-06-27 15:36:46.000000000 +0200
+++ gcc-defaults-1.22/debian/rules	2005-07-03 18:15:40.000000000 +0200
@@ -126,6 +126,10 @@
     OS_NAME	:= NetBSD
 endif
 
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+    OS_NAME	:= kFreeBSD
+endif
+
 # derived version number (without release)
 V_CPP	:= $(shell echo $(CV_CPP)   | sed 's/-[^-]*$$//')
 V_GCC	:= $(shell echo $(CV_GCC)   | sed 's/-[^-]*$$//')


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-11
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



Reply to: