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

Collapse All | Expand All

(-)gnuplot-4.6.2-r1.ebuild.orig (-6 / +12 lines)
Lines 20-27 Link Here
20
	SRC_URI=""
20
	SRC_URI=""
21
else
21
else
22
	MY_P="${P/_/.}"
22
	MY_P="${P/_/.}"
23
	SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz
23
	SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
24
		mirror://gentoo/${PN}.info-${PV}.tar.xz"
25
fi
24
fi
26
25
27
LICENSE="gnuplot GPL-2 bitmap? ( free-noncomm )"
26
LICENSE="gnuplot GPL-2 bitmap? ( free-noncomm )"
Lines 78-87 Link Here
78
TEXMF="${EPREFIX}/usr/share/texmf-site"
77
TEXMF="${EPREFIX}/usr/share/texmf-site"
79
78
80
src_prepare() {
79
src_prepare() {
81
	epatch "${FILESDIR}/${PN}-4.6.1-eldoc.patch"
80
	if [[ -n "${PV%%*9999}" ]]; then
82
	epatch "${FILESDIR}/${PN}-4.6.2-gdversion.patch" #462996
81
		epatch "${FILESDIR}/${PN}-4.6.1-eldoc.patch"
83
82
		epatch "${FILESDIR}/${PN}-4.6.2-gdversion.patch" #462996
84
	if [[ -z ${PV%%*9999} ]]; then
83
	else
85
		local dir
84
		local dir
86
		for dir in config demo m4 term tutorial; do
85
		for dir in config demo m4 term tutorial; do
87
			emake -C "$dir" -f Makefile.am.in Makefile.am
86
			emake -C "$dir" -f Makefile.am.in Makefile.am
Lines 89-94 Link Here
89
		eautoreconf
88
		eautoreconf
90
	fi
89
	fi
91
90
91
	# fix #464092
92
	if use doc; then
93
		sed -e '/^@uref/ s/@ref{\([^}]*\)}/\1/' \
94
			-e '/^@node aed767/,$ s/^@sub/@/' \
95
			-i docs/gnuplot.texi
96
	fi
97
92
	# Add special version identification as required by provision 2
98
	# Add special version identification as required by provision 2
93
	# of the gnuplot license
99
	# of the gnuplot license
94
	sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die
100
	sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die

Return to bug 464092