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

(-)/opt/gentoo/usr/portage/gnome-base/gvfs/gvfs-1.4.3.ebuild (-2 / +5 lines)
Lines 52-57 Link Here
52
	# CFLAGS needed for Solaris. Took it from here:
52
	# CFLAGS needed for Solaris. Took it from here:
53
	# https://svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk/SFEgnome-gvfs.spec
53
	# https://svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk/SFEgnome-gvfs.spec
54
	[[ ${CHOST} == *-solaris* ]] && append-flags "-D_XPG4_2 -D__EXTENSIONS__"
54
	[[ ${CHOST} == *-solaris* ]] && append-flags "-D_XPG4_2 -D__EXTENSIONS__"
55
56
	# "unix" not defined on Interix, but I guess it should be
57
	[[ ${CHOST} == *-interix* ]] && append-flags "-Dunix=1"
55
	
58
	
56
	if use cdda && ! use hal && ! use udev; then
59
	if use cdda && ! use hal && ! use udev; then
57
		ewarn "You have \"+cdda\", but you have \"-hal\" and \"-udev\""
60
		ewarn "You have \"+cdda\", but you have \"-hal\" and \"-udev\""
Lines 96-103 Link Here
96
99
97
	use gphoto2 || use archive && eautoreconf
100
	use gphoto2 || use archive && eautoreconf
98
101
99
	# There is no mkdtemp on Solaris libc. Using the same code as on Interix	
102
	# Solaris and Interix lack mkdtemp
100
	if [[ ${CHOST} == *-solaris* ]] ; then
103
	if [[ ${CHOST} == *-solaris* || ${CHOST} == *-interix* ]] ; then
101
		sed -i -e 's:mkdtemp:mktemp:g' daemon/gvfsbackendburn.c || die
104
		sed -i -e 's:mkdtemp:mktemp:g' daemon/gvfsbackendburn.c || die
102
	fi
105
	fi
103
	[[ ${CHOST} == *-interix* ]] && export ac_cv_header_stropts_h=no
106
	[[ ${CHOST} == *-interix* ]] && export ac_cv_header_stropts_h=no

Return to bug 302656