summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-06-05 16:23:48 +0000
committerMike Frysinger <vapier@gentoo.org>2008-06-05 16:23:48 +0000
commit11ca6442f903ef49ac7ce0daae79f7eca84a81b3 (patch)
treea8d346ca922fef53e5d561fd9dbcb8ff63a102da /dev-util/nsis
parent+dev-util/nsis:prebuilt-system (diff)
downloadgentoo-2-11ca6442f903ef49ac7ce0daae79f7eca84a81b3.tar.gz
gentoo-2-11ca6442f903ef49ac7ce0daae79f7eca84a81b3.tar.bz2
gentoo-2-11ca6442f903ef49ac7ce0daae79f7eca84a81b3.zip
Add USE=prebuilt-system to install the MSVC-compiled System.dll to workaround the System::Call issue with GCC.
(Portage version: 2.2_pre5.spank.spunk)
Diffstat (limited to 'dev-util/nsis')
-rw-r--r--dev-util/nsis/ChangeLog6
-rw-r--r--dev-util/nsis/nsis-2.37.ebuild11
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-util/nsis/ChangeLog b/dev-util/nsis/ChangeLog
index 545a1cf0c02c..281013dec192 100644
--- a/dev-util/nsis/ChangeLog
+++ b/dev-util/nsis/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/nsis
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.19 2008/06/03 00:49:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.20 2008/06/05 16:23:48 vapier Exp $
+
+ 05 Jun 2008; Mike Frysinger <vapier@gentoo.org> nsis-2.37.ebuild:
+ Add USE=prebuilt-system to install the MSVC-compiled System.dll to
+ workaround the System::Call issue with GCC.
*nsis-2.37 (03 Jun 2008)
diff --git a/dev-util/nsis/nsis-2.37.ebuild b/dev-util/nsis/nsis-2.37.ebuild
index 109a2e757ab8..977456880d37 100644
--- a/dev-util/nsis/nsis-2.37.ebuild
+++ b/dev-util/nsis/nsis-2.37.ebuild
@@ -1,17 +1,18 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.37.ebuild,v 1.1 2008/06/03 00:49:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.37.ebuild,v 1.2 2008/06/05 16:23:48 vapier Exp $
mingw32_variants=$(eval echo {,i{6,5,4,3}86-}mingw32)
DESCRIPTION="Nullsoft Scriptable Install System"
HOMEPAGE="http://nsis.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2
+ prebuilt-system? ( mirror://sourceforge/${PN}/${P}.zip )"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="bzip2 config-log zlib"
+IUSE="bzip2 config-log prebuilt-system zlib"
# NSIS Menu uses wxwindows but it's all broken, so disable for now
# wxwindows? ( x11-libs/wxGTK )
@@ -73,6 +74,10 @@ src_compile() {
src_install() {
do_scons install || die "scons failed"
+ if use prebuilt-system ; then
+ insinto /usr/share/nsis/Plugins
+ doins "${WORKDIR}"/${P}/Plugins/System.dll || die
+ fi
fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh