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

(-)hylafax-6.0.3.ebuild.orig (-10 / +6 lines)
Lines 10-24 Link Here
10
HOMEPAGE="http://www.hylafax.org"
10
HOMEPAGE="http://www.hylafax.org"
11
SRC_URI="ftp://ftp.hylafax.org/source/${P}.tar.gz"
11
SRC_URI="ftp://ftp.hylafax.org/source/${P}.tar.gz"
12
12
13
SLOT="0"
14
LICENSE="hylafax"
13
LICENSE="hylafax"
14
SLOT="0"
15
KEYWORDS="amd64 hppa ppc sparc x86"
15
KEYWORDS="amd64 hppa ppc sparc x86"
16
17
IUSE="jbig pam mgetty html"
16
IUSE="jbig pam mgetty html"
18
17
19
DEPEND=">=sys-libs/zlib-1.1.4
18
DEPEND="sys-libs/zlib
20
	app-text/ghostscript-gpl
19
	app-text/ghostscript-gpl
21
	=media-libs/tiff-3.9*[jbig?]
20
	media-libs/tiff[jbig?]
22
	virtual/jpeg
21
	virtual/jpeg
23
	jbig? ( media-libs/jbigkit )
22
	jbig? ( media-libs/jbigkit )
24
	sys-apps/gawk
23
	sys-apps/gawk
Lines 34-46 Link Here
34
src_prepare() {
33
src_prepare() {
35
	# force it not to strip binaries
34
	# force it not to strip binaries
36
	for dir in etc util faxalter faxcover faxd faxmail faxrm faxstat \
35
	for dir in etc util faxalter faxcover faxd faxmail faxrm faxstat \
37
		hfaxd sendfax sendpage ; do
36
		hfaxd libhylafax sendfax sendpage ; do
38
			sed -i -e "s:-idb:-idb \"nostrip\" -idb:g" \
37
			sed -i -e "s:-idb:-idb \"nostrip\" -idb:g" \
39
				"${dir}"/Makefile.in || die "sed failed"
38
				"${dir}"/Makefile.in || die "sed failed"
40
	done
39
	done
41
40
42
	sed -i -e "s|-fpic|-fPIC|g" \
41
	sed -i -e "s|-fpic|-fPIC|g" configure || die
43
		configure || die
44
42
45
	# new locale stuff lacks DESTDIR
43
	# new locale stuff lacks DESTDIR
46
	sed -i -e "s|\${LOCALEDIR}|\${DESTDIR}\${LOCALEDIR}|g" \
44
	sed -i -e "s|\${LOCALEDIR}|\${DESTDIR}\${LOCALEDIR}|g" \
Lines 151-161 Link Here
151
149
152
	use pam && pamd_mimic_system hylafax auth account session
150
	use pam && pamd_mimic_system hylafax auth account session
153
151
154
	dodoc CONTRIBUTORS README TODO
152
	dodoc CONTRIBUTORS INSTALL README TODO
155
}
153
}
156
154
157
pkg_postinst() {
155
pkg_postinst() {
158
	elog
159
	elog "The faxonly USE flag has been removed; since Hylafax does not"
156
	elog "The faxonly USE flag has been removed; since Hylafax does not"
160
	elog "require mgetty, and certain fax files conflict, you must build"
157
	elog "require mgetty, and certain fax files conflict, you must build"
161
	elog "mgetty without fax support if you wish to use them both.  You"
158
	elog "mgetty without fax support if you wish to use them both.  You"
Lines 182-188 Link Here
182
	elog "See the docs and man pages for detailed configuration info."
179
	elog "See the docs and man pages for detailed configuration info."
183
	elog
180
	elog
184
	elog "Now run faxsetup and (if necessary) faxaddmodem."
181
	elog "Now run faxsetup and (if necessary) faxaddmodem."
185
	elog
186
}
182
}
187
183
188
generate_files() {
184
generate_files() {

Return to bug 297150