hi! here's my updated patch. hope it gets on time. libtool needs to be updated to build the libraries properly on GNU/FreeBSD, my patch adds a pair of lines to debian/rules2 to update libtool automaticaly instead of having to patch the libtool script in debian/patches/freebsd-gnu.dpatch also the postcompile checks fail; i'm deactivating them for GNU/FreeBSD i'm attaching: - gcc_gnu-freebsd_debian.diff -> fixes for the debian/ directory - freebsd-gnu.dpatch.gz -> updated patch for debian/patches/ thanks, -- Robert Millan
Attachment:
freebsd-gnu.dpatch.gz
Description: Binary data
diff -ur gcc-3.2-3.2.3ds9.old/debian/rules.conf gcc-3.2-3.2.3ds9.new/debian/rules.conf
--- gcc-3.2-3.2.3ds9.old/debian/rules.conf Sat May 31 14:25:21 2003
+++ gcc-3.2-3.2.3ds9.new/debian/rules.conf Sat May 31 14:34:16 2003
@@ -24,7 +24,7 @@
ifeq ($(DEB_TARGET_GNU_SYSTEM),gnu)
LIBC_DEP = libc0.3-dev
else
- ifeq ($(DEB_TARGET_GNU_SYSTEM),freebsd)
+ ifeq ($(DEB_TARGET_GNU_SYSTEM),freebsd-gnu)
LIBC_DEP = libc1-dev
else
ifeq ($(DEB_TARGET_ARCH),netbsd-i386)
diff -ur gcc-3.2-3.2.3ds9.old/debian/rules.defs gcc-3.2-3.2.3ds9.new/debian/rules.defs
--- gcc-3.2-3.2.3ds9.old/debian/rules.defs Sat May 31 14:25:21 2003
+++ gcc-3.2-3.2.3ds9.new/debian/rules.defs Sat May 31 15:16:03 2003
@@ -290,7 +290,7 @@
ifdef DEB_CROSS
with_check := disabled for cross compiler package
endif
-check_no_archs := hurd-i386 mips mipsel
+check_no_archs := hurd-i386 mips mipsel freebsd-i386
ifneq ($(DEB_TARGET_ARCH),i386)
ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(check_no_archs)))
with_check :=disabled for $(DEB_TARGET_ARCH)
diff -ur gcc-3.2-3.2.3ds9.old/debian/rules2 gcc-3.2-3.2.3ds9.new/debian/rules2
--- gcc-3.2-3.2.3ds9.old/debian/rules2 Sat May 31 14:25:21 2003
+++ gcc-3.2-3.2.3ds9.new/debian/rules2 Sat May 31 14:47:16 2003
@@ -251,6 +251,10 @@
endif
endif
+ : # use updated libtool script
+ cp -p /usr/bin/libtool $(srcdir)/.
+ cp -p /usr/bin/libtool $(srcdir)/boehm-gc/.
+
touch $(configure_stamp)
build_dependencies = $(build_stamp)