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

Collapse All | Expand All

(-)a/eclass/freebsd.eclass (-1 / +8 lines)
Lines 129-134 freebsd_rename_libraries() { Link Here
129
freebsd_src_unpack() {
129
freebsd_src_unpack() {
130
	if [[ ${MY_PV} == *9999* ]]; then
130
	if [[ ${MY_PV} == *9999* ]]; then
131
		S="${WORKDIR}" subversion_src_unpack
131
		S="${WORKDIR}" subversion_src_unpack
132
133
		# When share/mk exists in ${WORKDIR}, it is used on FreeBSD 10.0.
134
		# Removed "${WORKDIR}"/share/mk/*.mk, use to force /usr/share/mk.
135
		if [[ ${PN} != freebsd-mk-defs ]] ; then
136
			[[ -e "${WORKDIR}"/share/mk ]] && rm -rf "${WORKDIR}"/share/mk/*.mk
137
		fi
132
	else
138
	else
133
		unpack ${A}
139
		unpack ${A}
134
	fi
140
	fi
Lines 141-147 freebsd_src_unpack() { Link Here
141
147
142
	# Starting from FreeBSD 9.2, its install command supports the -l option and
148
	# Starting from FreeBSD 9.2, its install command supports the -l option and
143
	# they now use it. Emulate it if we are on a system that does not have it.
149
	# they now use it. Emulate it if we are on a system that does not have it.
144
	if [[ ${RV} > 9.1 ]] && ! has_version '>=sys-freebsd/freebsd-ubin-9.2_beta1' ; then
150
	version_compare ${RV} 9.1
151
	if [[ $? -eq 3 ]] && ! has_version '>=sys-freebsd/freebsd-ubin-9.2_beta1' ; then
145
		export INSTALL_LINK="ln -f"
152
		export INSTALL_LINK="ln -f"
146
		export INSTALL_SYMLINK="ln -fs"
153
		export INSTALL_SYMLINK="ln -fs"
147
	fi
154
	fi

Return to bug 488214