Re: Bug#638335: gkrellm: FTBFS(kfreebsd): patch for building on kfreebsd

Sandro Tosi <[email protected]> Thu, 18 Aug 2011 20:34:52 +0200
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <CAPdtAj3U83_ozkM7X-dy5JBJG8Psi132oBdZBkq1-SvP9FPnzg__1280.03933136842$1313692806$gmane$org@mail.gmail.com>
forwarded 638335 [email protected]
thanks

Thanks Christoph for teh patch.

Dear Gkrellm authors, a fellow debian developer has just sent me a
patch to make gkrellm be buildable again on kfreebsd: it would be nice
if you can merge it into the upstream source code.

Sandro

On Thu, Aug 18, 2011 at 19:54, Christoph Egger <[email protected]> wrote:
> Package: src:gkrellm
> Version: 2.3.5-2
> Severity: important
> User: [email protected]
> Usertags: kfreebsd-porting
> X-Debbugs-Cc: [email protected]
> Justification: fails to build from source (but built successfully in the past)
>
> Hi!
>
> Your package failed to build on kfreebsd. I've prepared a patch to make
> it work again:
>
> First for debian/rules (could probably also be autodetected inside ./Makefile):
> --- ../gkrellm-2.3.5/debian/rules       2011-08-18 19:47:45.000000000 +0200
> +++ gkrellm-2.3.5/debian/rules  2011-08-17 21:28:55.000000000 +0200
> @@ -1,11 +1,5 @@
>  #!/usr/bin/make -f
>
> -DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
> -
> -ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
> -MAKE_EXTRAFLAG=kfreebsd
> -endif
> -
>  %:
>        dh $@
>
> @@ -13,7 +7,7 @@
>        dh_installinit -u"defaults 21"
>
>  override_dh_auto_build:
> -       $(MAKE) PREFIX=/usr without-ssl=1 $(MAKE_EXTRAFLAG)
> +       $(MAKE) PREFIX=/usr without-ssl=1
>
>  override_dh_auto_install:
>        $(MAKE) install DESTDIR=`pwd`/debian/tmp PREFIX=/usr
>
> and the attached patch for debian/patches/series attached
>
> Regards
>
>    Christoph
>
>
> --
> 9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
> Debian Developer | Lisp Hacker | CaCert Assurer
>
>



-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com