Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 108620 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-lang/R/R-2.2.0.ebuild (+17 lines)
Lines 76-81 Link Here
76
		-i ${D}/usr/$(get_libdir)/R/bin/R \
76
		-i ${D}/usr/$(get_libdir)/R/bin/R \
77
		|| die "sed failed"
77
		|| die "sed failed"
78
78
79
	#same for R_SHARE_DIR, R_INCLUDE_DIR and R_DOC_DIR
80
81
	sed \
82
		-e "/^R_SHARE_DIR=.*/s::R_SHARE_DIR=/usr/$(get_libdir)/R/share:" \
83
		-i ${D}/usr/$(get_libdir)/R/bin/R \
84
		|| die "sed failed"
85
86
	sed \
87
		-e "/^R_INCLUDE_DIR=.*/s::R_INCLUDE_DIR=/usr/$(get_libdir)/R/include:" \
88
		-i ${D}/usr/$(get_libdir)/R/bin/R \
89
		|| die "sed failed"
90
91
	sed \
92
		-e "/^R_DOC_DIR=.*/s::R_DOC_DIR=/usr/$(get_libdir)/R/doc:" \
93
		-i ${D}/usr/$(get_libdir)/R/bin/R \
94
		|| die "sed failed"
95
79
	# R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/
96
	# R installs two identical wrappers under /usr/bin and /usr/lib/R/bin/
80
	# the 2nd one is corrected by above sed, the first is replaced by a symlink
97
	# the 2nd one is corrected by above sed, the first is replaced by a symlink
81
	cd ${D}/usr/bin/
98
	cd ${D}/usr/bin/

Return to bug 108620