diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2017-09-25 12:50:48 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2017-09-25 14:12:55 +0200 |
commit | 05b38cc9cb3f2ad09538016e85ed285a1b1154d0 (patch) | |
tree | 2220534550f81420185462523bbd6e93f9632407 /sys-apps | |
parent | app-admin/logstash-bin: drop old (diff) | |
download | gentoo-05b38cc9cb3f2ad09538016e85ed285a1b1154d0.tar.gz gentoo-05b38cc9cb3f2ad09538016e85ed285a1b1154d0.tar.bz2 gentoo-05b38cc9cb3f2ad09538016e85ed285a1b1154d0.zip |
sys-apps/prefix-chain-utils: support windres
Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in | 2 | ||||
-rw-r--r-- | sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r7.ebuild (renamed from sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r6.ebuild) | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in b/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in index 16a79b836800..d612cc46bb28 100644 --- a/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in +++ b/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in @@ -15,7 +15,7 @@ if [[ ${CHOST} == *"-winnt"* ]]; then # in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")") fi -mode=link +[[ $0 == *windres* ]] && mode=compile || mode=link orig_args=("$@") for opt in "$@"; do diff --git a/sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r6.ebuild b/sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r7.ebuild index 24eabc399288..b447752a1536 100644 --- a/sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r6.ebuild +++ b/sys-apps/prefix-chain-utils/prefix-chain-utils-0.2-r7.ebuild @@ -41,11 +41,13 @@ src_install() { dosym $wrapperdir/prefix-chain-wrapper $wrapperdir/${CHOST}-g++ dosym $wrapperdir/prefix-chain-wrapper $wrapperdir/${CHOST}-cpp dosym $wrapperdir/prefix-chain-wrapper $wrapperdir/${CHOST}-c++ + dosym $wrapperdir/prefix-chain-wrapper $wrapperdir/${CHOST}-windres dosym $wrapperdir/${CHOST}-gcc $wrapperdir/gcc dosym $wrapperdir/${CHOST}-g++ $wrapperdir/g++ dosym $wrapperdir/${CHOST}-cpp $wrapperdir/cpp dosym $wrapperdir/${CHOST}-c++ $wrapperdir/c++ + dosym $wrapperdir/${CHOST}-windres $wrapperdir/windres # LDPATH is required to keep gcc-config happy :( cat > "${T}"/$wrappercfg <<EOF |