[Pkg-pascal-devel] Bug#845498: Bug#845498: Bug#845498: Bug#845498: /usr/bin/fpc-3.0.0: Provide cross-compilers
Abou Al Montacir
abou.almontacir at sfr.fr
Wed Dec 6 09:26:11 UTC 2017
Hi All,
On Wed, 2017-11-15 at 15:33 +0100, Abou Al Montacir wrote:
...
> Upstream solves this by using a different base dir. We can for instance
> replace
> /usr/lib/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION}by/usr/lib/${FPCTARGE
> T}-${FPCARCH}/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION}This is probably
> less intrusive, but have 2 levels of ${FPCTARGET}
I've uploaded this WE to experimental a solution that puts files in
/usr/lib/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION}/units/${FPCTARGET}-
${DEB_ABI}/${FPC_PACKAGE_NAME}
For example:
/usr/lib/fpc/3.0.4/units/i386-linux-base/fpmkunit
However this location of unit files produces the following Lintian errors:
https://lintian.debian.org/tags/arch-dependent-file-not-in-arch-specific-directo
ry.html
I suppose that I need to change it again to be
/usr/lib/${DEB_TARGET_GNU_TYPE}/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION}
/units/${FPC_PACKAGE_NAME}
So for example
/usr/lib/i386-linux-gnu/fpc/3.0.4/units/fpmkunit
It is now quite easy to do this after my recent changes.
Is that OK or do we need to do it other way, maybe in a simpler manner?
--
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171206/154e1ccd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171206/154e1ccd/attachment.sig>
More information about the Pkg-pascal-devel
mailing list