From: Hai Z. <ha...@gm...> - 2006-01-09 13:27:42
|
Try the attached patch. It changes 'make install' to run ldbashconfig only when DESTDIR is _not_ set. Also various small changes to rpm spec have been made. Note, that you'll have to run autoreconf/configure after applying the patch= . Tell me if the fix is good, and I'll merge it upstream to 0.9.9b. On 1/8/06, Dick Marinus <dic...@ch...> wrote: > Hi, > > > make install for libbash calls ldbashconfig, which is bad in case > someone is building a package. > I've created the following patch to disable the install-data-hook: > --- libbash-0.9.9a-orig/Makefile.am 2006-01-07 12:32:54.000000000 > +0100 > +++ libbash-0.9.9a/Makefile.am 2006-01-07 12:33:04.000000000 +0100 > @@ -9,6 +9,6 @@ > # The tests should be here, so the make check output will look good > TESTS =3D tests/locks.sh > > -# Running ldbashconfig after installation > -install-data-hook: > - $(DESTDIR)/$(sbindir)/ldbashconfig > +## Running ldbashconfig after installation > +#install-data-hook: > +# $(DESTDIR)/$(sbindir)/ldbashconfig > > Could you please remove the install-data-hook or make it optional? > > Thanks, > Dick > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iD8DBQBDwXgZ6xLbhaCdQl8RAs0CAJ9rK1lH7uYeGN/EISPEJcY+v5Y/8ACbB4Mi > aKweFkuyMPHoZpuGSuJcQ2k=3D > =3Dw9h6 > -----END PGP SIGNATURE----- > > > -- Zaar |