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

(-)a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild (-5 / +7 lines)
Lines 132-145 src_prepare() { Link Here
132
132
133
	# search path fix
133
	# search path fix
134
	# put LDFLAGS after BINDIR, bug #383447
134
	# put LDFLAGS after BINDIR, bug #383447
135
	sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \
135
	sed -i -e "s:\$\(gsdatadir\)/lib:@datarootdir@/ghostscript/${PVM}/$(get_libdir):" \
136
		-e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \
136
		-e "s:exdir=.*:exdir=@datarootdir@/doc/${PF}/examples:" \
137
		-e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \
137
		-e "s:docdir=.*:docdir=@datarootdir@/doc/${PF}/html:" \
138
		-e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \
138
		-e "s:GS_DOCDIR=.*:GS_DOCDIR=@datarootdir@/doc/${PF}/html:" \
139
		-e 's:-L$(BINDIR):& $(LDFLAGS):g' \
139
		-e 's:-L$(BINDIR):& $(LDFLAGS):g' \
140
		"${S}"/Makefile.in "${S}"/base/*.mak || die "sed failed"
140
		"${S}"/Makefile.in "${S}"/base/*.mak || die "sed failed"
141
141
142
	cd "${S}" || die
142
	cd "${S}" || die
143
	# remove incorrect symlink, bug 590384
144
	rm -f ijs/ltmain.sh || die
143
	eautoreconf
145
	eautoreconf
144
146
145
	cd "${S}/ijs" || die
147
	cd "${S}/ijs" || die
Lines 158-164 src_configure() { Link Here
158
		/usr/share/poppler/cMap/Adobe-Japan2 \
160
		/usr/share/poppler/cMap/Adobe-Japan2 \
159
		/usr/share/poppler/cMap/Adobe-Korea1
161
		/usr/share/poppler/cMap/Adobe-Korea1
160
	do
162
	do
161
		FONTPATH="$FONTPATH${FONTPATH:+:}$path"
163
		FONTPATH="$FONTPATH${FONTPATH:+:}${EPREFIX}$path"
162
	done
164
	done
163
165
164
	# We force the endian configure flags until this is fixed:
166
	# We force the endian configure flags until this is fixed:

Return to bug 590384