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

Re: path name in librep (Re: Who do ITP sawfish?)



At Wed, 31 May 2000 04:30:45 +0900,
Takuo KITAME <kitame@northeye.org> wrote:

> IM> On Tue, May 30, 2000 at 03:45:57AM +0900, Chu-yeon Park wrote:
> >> On Tue, May 30, 2000 at 02:12:45AM +0800, Ian McKellar wrote:
> > I'm taking it over from Mikolaj. I've built some packages, and I've just
> > got to get them properly tested and to Mikolaj so he can upload them (I'm
> > in the process of becoming a maintainer at the moment).
> >> 
> >> sawfish-0.27.2 was released. I wish you packaged it.
> 
> IM> Thats why I haven't gotten my sponsor to upload it yet. I just finished
> IM> packaging 0.27.1 when .2 came out. I'm busy right now, but I'll try to get
> IM> it packaged tonight.
> 
> BTW, librep (and rep-gtk) has problem that contain build machine
> specific path name such as 
>  /usr/lib/rep/i686-pc-linux-gnu/
> It's evil, should be like i386-debian-linux-gnu .
> 
> I wrote a simple patch for debian/rules.
> 
> --- debian/rules.old    Wed May 31 04:26:39 2000
> +++ debian/rules        Wed May 31 04:15:21 2000
> @@ -9,11 +9,13 @@
>  # Uncomment this to turn on verbose mode. 
>  #export DH_VERBOSE=1
>  
> +a := $(shell dpkg --print-architecture)
> +
>  build: build-stamp
>  build-stamp:
>         dh_testdir
>  
> -       ./configure --prefix=/usr --libexecdir=/usr/lib
> +       ./configure --prefix=/usr --libexecdir=/usr/lib ${a}-debian-linux-gnu
>         make
>         touch build-stamp

I think it's better to use $(DEB_BUILD_GNU_TYPE). 
See dpkg-architecture(1)

Regards,
Fumitoshi UKAI



Reply to: