[Pkg-ia32-libs-maintainers] Bug#493246: ia32-libs-tools: does not support GNU/kFreeBSD
Petr Salinger
Petr.Salinger at seznam.cz
Fri Aug 1 15:18:12 UTC 2008
Package: ia32-libs-tools
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd
Version: 11
Hello,
ia32-libs-tools could also support GNU/kFreeBSD.
kfreebsd-amd64 is able to execute kfreebsd-i386 and i386 binaries,
kfreebsd-i386 is able to execute i386 binaries.
More valuable for kfreebsd-amd64 would be support for linux/i386
binaries.
Petr
--- debian/rules
+++ debian/rules
@@ -26,10 +26,20 @@
FOREIGN_ARCH := amd64
PKGPREFIX := amd64-
else
+ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
+FOREIGN_ARCH := i386
+PKGPREFIX := ia32-
+else
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+FOREIGN_ARCH := i386
+PKGPREFIX := ia32-
+else
error $(DEB_HOST_ARCH) unknown
endif
endif
endif
+endif
+endif
More information about the Pkg-ia32-libs-maintainers
mailing list