[PATCH] to get latest gcc-ss to build
Minor patch that I used to get the latest gcc-ss to build on sparc
(although this isn't sparc specific) with the latest gcc CVS.
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
diff -urN debian.orig/rules.conf debian/rules.conf
--- debian.orig/rules.conf Thu Apr 27 18:23:22 2000
+++ debian/rules.conf Sun Apr 30 21:14:52 2000
@@ -52,7 +52,7 @@
if_config := $(shell cd $(srcdir); \
topsrcdir=$(srcdir); \
target_os=$(DEB_HOST_GNU_SYSTEM)-gnu; \
- target=$(DEB_HOST_GNU_TYPE); . config.if; \
+ target=$(DEB_HOST_GNU_TYPE); . config.if >/dev/null 2>&1; \
echo $$libstdcxx_interface $$cxx_interface $$libc_interface)
LIBSTDCXX_IF := $(word 1, $(if_config))
CXX_IF := $(word 2, $(if_config))
diff -urN debian.orig/rules2 debian/rules2
--- debian.orig/rules2 Thu Apr 27 18:23:21 2000
+++ debian/rules2 Mon May 1 11:02:47 2000
@@ -637,7 +637,6 @@
: # Adjust installation such that we can begin moving things around:
$(IS) debian/c89 $(d)/$(PF)/bin/
$(IR) debian/c89.1 $(d)/$(PF)/share/man/man1/
- mv $(d)/$(PF)/share/man/man1/cccp.1 $(d)/$(PF)/share/man/man1/cpp.1
: # - Remove files, which are not part of any package
rm -f $(d)/$(PF)/bin/$(DEB_HOST_GNU_TYPE)-gcc
rm -f $(d)/$(PF)/bin/{c++,c++filt}
@@ -852,6 +851,7 @@
: # in the snapshot package the man pages aren't compressed by default.
dh_compress -a
+ifeq ($(with_libgpp),yes)
for i in $(usr_doc_files); do \
b=`basename $$i`; \
if [ -e $(d_lib)/$(docdir)/$(p_lib)/$$b ]; then \
@@ -860,6 +860,7 @@
ln -sf ../$(p_lib)/$$b.gz $(d_lgp)/$(docdir)/$(p_lgp)/$$b.gz; \
fi; \
done
+endif
dh_fixperms -a
# when dh_installdeb is called from the snapshot package, the postinst/prerm
@@ -883,7 +884,7 @@
> debian/$(p_lgp).shlibs
endif
endif
-
+ifeq ($(with_libgpp),yes)
b=libg++; v=$(LGP_PKG_SONAME); \
for ext in preinst postinst prerm postrm; do \
for t in '' -dev -dbg; do \
@@ -892,6 +893,7 @@
fi; \
done; \
done
+endif
b=libstdc++; v=$(PKG_SONAME); \
for ext in preinst postinst prerm postrm; do \
for t in '' -dev -dbg; do \
Reply to: