[DVDnav-discuss] [PATCH] bugfix for compile minilib of libdvdnav
Nico Sabbi
nicola_sabbi at fastwebnet.it
Tue Sep 18 22:04:01 CEST 2007
Ulion wrote:
> Hello,
>
> I also encounter a problem with the '-e' option of echo when generate
> dvdnav-config file, '-e' was printed into the targetfile also. I'm
> under ubuntu 7.04 on a PowerPC 64 just installed. Test echo command
> result just ok but when call it in the Makefile, it seems already has
> a '-e' hiddenly, maybe there's some alias somewhere. To fix it, I use
> a absolate path to call echo:
>
> Index: libdvdnav/Makefile
> ===================================================================
> --- libdvdnav/Makefile (revision 955)
> +++ libdvdnav/Makefile (working copy)
> @@ -127,11 +127,11 @@
> rm -rf config.mak
>
> dvdnav-config: $(.OBJDIR)
> - echo -e '#!/bin/sh\n\nprefix='$(PREFIX)'\n' > $(.OBJDIR)/dvdnav-config
> - echo -e 'version='$(SHLIB_VERSION)'\n' >> $(.OBJDIR)/dvdnav-config
> - echo -e 'dvdread='$(DVDREAD)'\n' >> $(.OBJDIR)/dvdnav-config
> - echo -e 'dvdreaddir='$(DVDREAD_DIR)'\n' >> $(.OBJDIR)/dvdnav-config
> - echo -e 'threadlib='$(THREADLIB)'\n\n' >> $(.OBJDIR)/dvdnav-config
> + /bin/echo -e '#!/bin/sh\n\nprefix='$(PREFIX)'\n' >
> $(.OBJDIR)/dvdnav-config
> + /bin/echo -e 'version='$(SHLIB_VERSION)'\n' >> $(.OBJDIR)/dvdnav-config
> + /bin/echo -e 'dvdread='$(DVDREAD)'\n' >> $(.OBJDIR)/dvdnav-config
> + /bin/echo -e 'dvdreaddir='$(DVDREAD_DIR)'\n' >> $(.OBJDIR)/dvdnav-config
> + /bin/echo -e 'threadlib='$(THREADLIB)'\n\n' >> $(.OBJDIR)/dvdnav-config
> cat $(SRC_PATH_BARE)/misc/dvdnav-config2.sh >> $(.OBJDIR)/dvdnav-config
> chmod 0755 $(SRC_PATH_BARE)/$(.OBJDIR)/dvdnav-config
>
>
something is broken in your setup. I can't commit such workarounds
More information about the DVDnav-discuss
mailing list