• Bug#254728: fix for sparc build

    From Blars Blarson@1:229/2 to All on Sun Aug 15 19:30:12 2004
    From: [email protected]

    tags 254728 + patch
    thanks

    Attached is a proposed NMU that fixes the sparc build problems.
    If I don't hear otherwise, I will upload in a few days.

    --
    Blars Blarson [email protected]
    http://www.blars.org/blars.html
    With Microsoft, failure is not an option. It is a standard feature.

    --- ../oldstrace/rules 2004-08-15 09:14:47.000000000 -0700
    +++ debian/rules 2004-08-15 09:49:42.000000000 -0700
    @@ -15,12 +15,13 @@
    extra_build_targets += stamp-build64
    endif

    -all build: Makefile
    +all build: $(extra_build_targets) Makefile
    $(MAKE) $(MFLAGS)
    touch stamp-build

    Makefile:
    - sh configure --prefix=/usr
    + sh configure --prefix=/usr --build=$(DEB_HOST_GNU_TYPE)
    +
    clean:
    test ! -f Makefile || $(MAKE) distclean
    rm -f stamp-build
    @@ -37,7 +38,7 @@
    cd build64 && $(MAKE) $(MFLAGS)
    touch $@

    -binary-arch: $(extra_build_targets) build checkroot
    +binary-arch: build checkroot
    test -f stamp-build || make $(MFLAGS) -f debian/rules build
    -rm -rf debian/tmp debian/files debian/substvars

    --- ../oldstrace/changelog 2004-08-15 09:50:34.000000000 -0700
    +++ debian/changelog 2004-08-15 09:53:15.000000000 -0700
    @@ -1,3 +1,10 @@
    +strace (4.5.6-1.1) unstable; urgency=low
    +
    + * NMU for sparc build problems
    + * fix debian/rules to properly build sparc and sparc64