Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 413961
Collapse All | Expand All

(-)erlang-15.2.orig.ebuild (-5 / +6 lines)
Lines 29-35 Link Here
29
29
30
LICENSE="ErlPL-1.1"
30
LICENSE="ErlPL-1.1"
31
SLOT="0"
31
SLOT="0"
32
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris"
32
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x64-macos"
33
IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
33
IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
34
34
35
RDEPEND=">=dev-lang/perl-5.6.1
35
RDEPEND=">=dev-lang/perl-5.6.1
Lines 90-95 Link Here
90
		$(use_enable kpoll kernel-poll) \
90
		$(use_enable kpoll kernel-poll) \
91
		$(use_enable smp smp-support) \
91
		$(use_enable smp smp-support) \
92
		$(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
92
		$(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
93
		$(use x64-macos && echo "--enable-darwin-64bit") \
93
		|| die
94
		|| die
94
}
95
}
95
96
Lines 125-134 Link Here
125
	dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
126
	dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
126
	use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
127
	use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
127
128
128
	## Remove ${D} from the following files
129
	## Remove ${ED} from the following files
129
	sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
130
	sed -e "s:${ED}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
130
	sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
131
	sed -e "s:${ED}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
131
	grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
132
	grep -rle "${ED}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${ED}::g"
132
133
133
	## Clean up the no longer needed files
134
	## Clean up the no longer needed files
134
	rm "${ED}/${ERL_LIBDIR}/Install"||die
135
	rm "${ED}/${ERL_LIBDIR}/Install"||die

Return to bug 413961