[Pkg-pascal-devel] Bug#863808: fpc: Please add mipsel as CPU_TARGET in debian/rules
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Wed May 31 12:38:38 UTC 2017
Source: fpc
Version: 3.0.0+dfsg-11
Severity: normal
Tags: patch
User: debian-mips at lists.debian.org
Usertags: mips
Hello!
In order for src:fpc to build on mipsel, the architecture needs to be added
to the list of CPU targets in debian/rules. This is necessary because the
resulting binary for the portable Pascal compiler is ppc$CPU and without
adding mipsel to the list, the rules file will search for "ppc" instead of
"ppcmipsel".
The change itself is trivial:
diff -Nru old/fpc-3.0.2+dfsg/debian/rules new/fpc-3.0.2+dfsg/debian/rules
--- old/fpc-3.0.2+dfsg/debian/rules 2017-04-09 11:44:58.000000000 +0200
+++ new/fpc-3.0.2+dfsg/debian/rules 2017-05-30 23:52:09.875391597 +0200
@@ -57,6 +57,9 @@
ifeq ($(CPU_TARGET),sparc)
PPSUF=sparc
endif
+ifeq ($(CPU_TARGET),mipsel)
+PPSUF=mipsel
+endif
ifneq ($(CPU_SOURCE),$(CPU_TARGET))
PPPRE=ppcross
Could you apply this change for the next upload?
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
diff -Nru old/fpc-3.0.2+dfsg/debian/rules new/fpc-3.0.2+dfsg/debian/rules
--- old/fpc-3.0.2+dfsg/debian/rules 2017-04-09 11:44:58.000000000 +0200
+++ new/fpc-3.0.2+dfsg/debian/rules 2017-05-30 23:52:09.875391597 +0200
@@ -57,6 +57,9 @@
ifeq ($(CPU_TARGET),sparc)
PPSUF=sparc
endif
+ifeq ($(CPU_TARGET),mipsel)
+PPSUF=mipsel
+endif
ifneq ($(CPU_SOURCE),$(CPU_TARGET))
PPPRE=ppcross
More information about the Pkg-pascal-devel
mailing list