[fpc-devel] make deb fails

Florian Klaempfl florian at freepascal.org
Tue Jul 24 17:00:21 CEST 2007


Stefan Kisdaroczi schrieb:
> Hi all,
> 
> the libgdb detection fails with "make deb" (fixes_2_2 and trunk). The attached patch worked for me.

I think it is on purpose that you get a failure when do you don't have
libgdb, so broken releases are avoided and you've to disable it explicitly.

> 
> greetings
> kisda
> 
> 
> ------------------------------------------------------------------------
> 
> Index: Makefile.fpc
> ===================================================================
> --- Makefile.fpc	(revision 369)
> +++ Makefile.fpc	(working copy)
> @@ -431,7 +431,7 @@
>          $(LINKTREE) fpcsrc/utils $(DEBSRCDIR)
>          $(LINKTREE) demo $(DEBSRCDIR)
>          $(LINKTREE) logs $(DEBSRCDIR)
> -ifndef NOGDB
> +ifdef GDB
>          $(LINKTREE) $(GDBLIBDIR) $(DEBSRCDIR)
>  endif
>  ifndef NODOCS
> @@ -516,7 +516,7 @@
>          $(LINKTREE) fpcsrc/ide $(RPMSRCDIR)
>          $(LINKTREE) fpcsrc/packages $(RPMSRCDIR)
>          $(LINKTREE) fpcsrc/utils $(RPMSRCDIR)
> -ifndef NOGDB
> +ifdef GDB
>          $(LINKTREE) $(GDBLIBDIR) $(DEBSRCDIR)
>  endif
>          $(LINKTREE) demo $(RPMSRCDIR)
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list