diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-12-31 12:11:56 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-12-31 12:11:56 +0100 |
commit | 8061d6bedd5012ffc6820606c26f30f97cd1bd8f (patch) | |
tree | ed879cb9586f0772b5aa6c6f89897f826fad714a /app-admin/cygwin-rebase | |
parent | media-libs/libinsane: add missing glib-utils BDEPEND (diff) | |
download | gentoo-8061d6bedd5012ffc6820606c26f30f97cd1bd8f.tar.gz gentoo-8061d6bedd5012ffc6820606c26f30f97cd1bd8f.tar.bz2 gentoo-8061d6bedd5012ffc6820606c26f30f97cd1bd8f.zip |
app-admin/cygwin-rebase: add support for x86-cygwin, thanks dreamcaster23
As reported via prefix@g.o, i386 target works well.
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-admin/cygwin-rebase')
-rw-r--r-- | app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild | 6 | ||||
-rw-r--r-- | app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild b/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild index 9575601c7c86..f80b7c07b4d1 100644 --- a/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild +++ b/app-admin/cygwin-rebase/cygwin-rebase-4.4.4.ebuild @@ -31,7 +31,7 @@ else https://github.com/haubi/cygwin-rebase/compare/rebase-${MY_PV}...rebase-${MY_PV}_merge-files-flag-0.patch -> ${P}_merge-files-flag-0.patch " PATCHES=( "${DISTDIR}/${P}_merge-files-flag-0.patch" ) - KEYWORDS="-* ~x64-cygwin" + KEYWORDS="-* ~x64-cygwin ~x86-cygwin" fi DEPEND="" @@ -60,6 +60,10 @@ pkg_preinst() { local rebasedb local baseaddr case ${CHOST} in + i686-*-cygwin*) + rebasedb=/etc/rebase.db.i386 + baseaddr=0x70000000 + ;; x86_64-*-cygwin*) rebasedb=/etc/rebase.db.x86_64 baseaddr=0x1000000000 diff --git a/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild b/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild index 9575601c7c86..f80b7c07b4d1 100644 --- a/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild +++ b/app-admin/cygwin-rebase/cygwin-rebase-9999.ebuild @@ -31,7 +31,7 @@ else https://github.com/haubi/cygwin-rebase/compare/rebase-${MY_PV}...rebase-${MY_PV}_merge-files-flag-0.patch -> ${P}_merge-files-flag-0.patch " PATCHES=( "${DISTDIR}/${P}_merge-files-flag-0.patch" ) - KEYWORDS="-* ~x64-cygwin" + KEYWORDS="-* ~x64-cygwin ~x86-cygwin" fi DEPEND="" @@ -60,6 +60,10 @@ pkg_preinst() { local rebasedb local baseaddr case ${CHOST} in + i686-*-cygwin*) + rebasedb=/etc/rebase.db.i386 + baseaddr=0x70000000 + ;; x86_64-*-cygwin*) rebasedb=/etc/rebase.db.x86_64 baseaddr=0x1000000000 |