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

Bug#178325: LIBC_DEV value for libc12



Package: gcc-3.2
Version: 3.2.2ds5
Severity: wishlist
Tags: patch

The current rules.defs file does not detect a NetBSD system, and as such,
fails to pass a sane value to the m4 call when building the debian/control
file. A patch that adjusts this is included.
-- 
Joel Baker <fenton@debian.org>
--- debian/rules.conf.orig	2003-01-21 20:06:04.000000000 +0000
+++ debian/rules.conf	2003-01-22 16:06:16.000000000 +0000
@@ -90,11 +90,15 @@
     ifeq ($(DEB_HOST_GNU_SYSTEM),freebsd)
       ctrl_flags += -DLIBC_DEV=libc1-dev
     else
-      ctrl_flags += -DLIBC_DEV="libc6-dev (>= $(libc_ver))"
+      ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),netbsd-i386))
+        ctrl_flags += -DLIBC_DEV="libc12-dev"
+      else
+        ctrl_flags += -DLIBC_DEV="libc6-dev (>= $(libc_ver))"
+      endif
     endif
   endif
 endif
-ctrl_flags += -DLIBC_BUILD_DEP="libc6.1-dev (>= $(libc_ver)) | libc6-dev (>= $(libc_ver)) | libc0.3-dev | libc1-dev"
+ctrl_flags += -DLIBC_BUILD_DEP="libc6.1-dev (>= $(libc_ver)) | libc6-dev (>= $(libc_ver)) | libc0.3-dev | libc1-dev | libc12-dev"
 
 ifneq ($(GCC_TARGET),)
   ctrl_flags += \

Reply to: