Bug#892285: [Pkg-pascal-devel] Bug#892285: /usr/bin/fpcmake: fpcmake should find units in Debian without fiddling with FPCDIR

2018-04-20 Thread Graham Inggs
Control: reopen -1
Control: tags -1 + patch


Hi Abou

This needs to be fixed for arm64 as well.

FPC names the compiler ppca64, but fpcmake looks for ppcaarch64.
Please see the attached diff against add-arm64-support.patch.

Regards
Graham
--- a/debian/patches/add-arm64-support.patch
+++ b/debian/patches/add-arm64-support.patch
@@ -36817,7 +36817,7 @@
  
ppcSuffix : array[TCpu] of string=(
 -'386','m68k','ppc','sparc','x86_64','arm','ppc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el', 'jvm','8086'
-+'386','m68k','ppc','sparc','x64','arm','ppc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el', 'jvm','8086','aarch64'
++'386','m68k','ppc','sparc','x64','arm','ppc64','avr','armeb', 'armel', 'mips', 'mipsel', 'mips64', 'mips64el', 'jvm','8086','a64'
);
  
OSStr : array[TOS] of string=(


Bug#892285: [Pkg-pascal-devel] Bug#892285: /usr/bin/fpcmake: fpcmake should find units in Debian without fiddling with FPCDIR

2018-03-07 Thread Abou Al Montacir
Hi,

On Wed, 2018-03-07 at 21:29 +0100, Paul Gevers wrote:
> Lazarus is defining FPCDIR in its d/rules file to prevent this
> like:FPCDIR=/usr/share/fpcsrc/${FPCVER}
> 
> Transgui is/was doing it like:
> FPCDIR=/usr/lib/fpc/${FPCDIR}
> 
> I believe neither should be needed. Also, which one of the two is correct (or
> better, if neither is really correct)?
Probably none of them need to define FPCDIR.
-- 
Cheers,
Abou Al Montacir

signature.asc
Description: This is a digitally signed message part