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

Collapse All | Expand All

(-)dev-libs/cyrus-sasl/cyrus-sasl-2.1.18.ebuild.orig (-2 / +12 lines)
Lines 76-82 Link Here
76
	myconf="${myconf} `use_enable java` `use_with java javahome ${JAVA_HOME}`"
76
	myconf="${myconf} `use_enable java` `use_with java javahome ${JAVA_HOME}`"
77
77
78
	if [ "`use mysql`" -o "`use postgres`" ] ; then
78
	if [ "`use mysql`" -o "`use postgres`" ] ; then
79
		myconf="${myconf} --enable-sql"
79
		if [ "`use mysql`" -a "`use postgres`" ] ; then
80
			echo
81
			eerror "You have both mysql *AND* postgres in your USE flags."
82
			eerror "For ${PN} to work correctly you have to disable at"
83
			eerror "least one of them, e.g. like"
84
			eerror "USE=\"-mysql\" emerge ${PN}"
85
86
			die "Compilation of ${P} failed."
87
		else
88
			myconf="${myconf} --enable-sql"
89
		fi
80
	else
90
	else
81
		myconf="${myconf} --disable-sql"
91
		myconf="${myconf} --disable-sql"
82
	fi
92
	fi
Lines 93-99 Link Here
93
	use mips && gnuconfig_update
103
	use mips && gnuconfig_update
94
	use ppc64 && gnuconfig_update
104
	use ppc64 && gnuconfig_update
95
105
96
	econf \
106
	CPPFLAGS="${CPPFLAGS} -I/usr/include/heimdal" econf \
97
		--with-saslauthd=/var/lib/sasl2 \
107
		--with-saslauthd=/var/lib/sasl2 \
98
		--with-pwcheck=/var/lib/sasl2 \
108
		--with-pwcheck=/var/lib/sasl2 \
99
		--with-configdir=/etc/sasl2 \
109
		--with-configdir=/etc/sasl2 \

Return to bug 54310