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

(-)libav.orig/libav-10.1-r1.ebuild (+11 lines)
Lines 240-245 Link Here
240
	# Option to force building pic
240
	# Option to force building pic
241
	use pic && myconf+=( --enable-pic )
241
	use pic && myconf+=( --enable-pic )
242
242
243
	# Try to get cpu type based on CFLAGS.
244
	# Bug #172723
245
	# We need to do this so that features of that CPU will be better used
246
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
247
	# will just ignore it.
248
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
249
		[ "${i}" = "native" ] && i="host" # bug #273421
250
		myconf="${myconf} --cpu=${i}"
251
		break
252
	done
253
243
	# cross compile support
254
	# cross compile support
244
	if tc-is-cross-compiler ; then
255
	if tc-is-cross-compiler ; then
245
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
256
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-10.1.ebuild (+11 lines)
Lines 228-233 Link Here
228
	# Option to force building pic
228
	# Option to force building pic
229
	use pic && myconf+=" --enable-pic"
229
	use pic && myconf+=" --enable-pic"
230
230
231
	# Try to get cpu type based on CFLAGS.
232
	# Bug #172723
233
	# We need to do this so that features of that CPU will be better used
234
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
235
	# will just ignore it.
236
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
237
		[ "${i}" = "native" ] && i="host" # bug #273421
238
		myconf="${myconf} --cpu=${i}"
239
		break
240
	done
241
231
	# cross compile support
242
	# cross compile support
232
	if tc-is-cross-compiler ; then
243
	if tc-is-cross-compiler ; then
233
		myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
244
		myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
(-)libav.orig/libav-10.2.ebuild (+11 lines)
Lines 240-245 Link Here
240
	# Option to force building pic
240
	# Option to force building pic
241
	use pic && myconf+=( --enable-pic )
241
	use pic && myconf+=( --enable-pic )
242
242
243
	# Try to get cpu type based on CFLAGS.
244
	# Bug #172723
245
	# We need to do this so that features of that CPU will be better used
246
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
247
	# will just ignore it.
248
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
249
		[ "${i}" = "native" ] && i="host" # bug #273421
250
		myconf="${myconf} --cpu=${i}"
251
		break
252
	done
253
243
	# cross compile support
254
	# cross compile support
244
	if tc-is-cross-compiler ; then
255
	if tc-is-cross-compiler ; then
245
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
256
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-10.3.ebuild (+11 lines)
Lines 242-247 Link Here
242
	# Option to force building pic
242
	# Option to force building pic
243
	use pic && myconf+=( --enable-pic )
243
	use pic && myconf+=( --enable-pic )
244
244
245
	# Try to get cpu type based on CFLAGS.
246
	# Bug #172723
247
	# We need to do this so that features of that CPU will be better used
248
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
249
	# will just ignore it.
250
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
251
		[ "${i}" = "native" ] && i="host" # bug #273421
252
		myconf="${myconf} --cpu=${i}"
253
		break
254
	done
255
245
	# cross compile support
256
	# cross compile support
246
	if tc-is-cross-compiler ; then
257
	if tc-is-cross-compiler ; then
247
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
258
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-10.9999.ebuild (+11 lines)
Lines 245-250 Link Here
245
	# Option to force building pic
245
	# Option to force building pic
246
	use pic && myconf+=( --enable-pic )
246
	use pic && myconf+=( --enable-pic )
247
247
248
	# Try to get cpu type based on CFLAGS.
249
	# Bug #172723
250
	# We need to do this so that features of that CPU will be better used
251
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
252
	# will just ignore it.
253
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
254
		[ "${i}" = "native" ] && i="host" # bug #273421
255
		myconf="${myconf} --cpu=${i}"
256
		break
257
	done
258
248
	# cross compile support
259
	# cross compile support
249
	if tc-is-cross-compiler ; then
260
	if tc-is-cross-compiler ; then
250
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
261
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-10.ebuild (+11 lines)
Lines 226-231 Link Here
226
	# Option to force building pic
226
	# Option to force building pic
227
	use pic && myconf+=" --enable-pic"
227
	use pic && myconf+=" --enable-pic"
228
228
229
	# Try to get cpu type based on CFLAGS.
230
	# Bug #172723
231
	# We need to do this so that features of that CPU will be better used
232
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
233
	# will just ignore it.
234
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
235
		[ "${i}" = "native" ] && i="host" # bug #273421
236
		myconf="${myconf} --cpu=${i}"
237
		break
238
	done
239
229
	# cross compile support
240
	# cross compile support
230
	if tc-is-cross-compiler ; then
241
	if tc-is-cross-compiler ; then
231
		myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
242
		myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
(-)libav.orig/libav-11.ebuild (+11 lines)
Lines 250-255 Link Here
250
	# Option to force building pic
250
	# Option to force building pic
251
	use pic && myconf+=( --enable-pic )
251
	use pic && myconf+=( --enable-pic )
252
252
253
	# Try to get cpu type based on CFLAGS.
254
	# Bug #172723
255
	# We need to do this so that features of that CPU will be better used
256
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
257
	# will just ignore it.
258
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
259
		[ "${i}" = "native" ] && i="host" # bug #273421
260
		myconf="${myconf} --cpu=${i}"
261
		break
262
	done
263
253
	# cross compile support
264
	# cross compile support
254
	if tc-is-cross-compiler ; then
265
	if tc-is-cross-compiler ; then
255
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
266
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-9.14.ebuild (+11 lines)
Lines 240-245 Link Here
240
	# Option to force building pic
240
	# Option to force building pic
241
	use pic && myconf+=( --enable-pic )
241
	use pic && myconf+=( --enable-pic )
242
242
243
	# Try to get cpu type based on CFLAGS.
244
	# Bug #172723
245
	# We need to do this so that features of that CPU will be better used
246
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
247
	# will just ignore it.
248
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
249
		[ "${i}" = "native" ] && i="host" # bug #273421
250
		myconf="${myconf} --cpu=${i}"
251
		break
252
	done
253
243
	# cross compile support
254
	# cross compile support
244
	if tc-is-cross-compiler ; then
255
	if tc-is-cross-compiler ; then
245
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
256
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-9.16.ebuild (+11 lines)
Lines 240-245 Link Here
240
	# Option to force building pic
240
	# Option to force building pic
241
	use pic && myconf+=( --enable-pic )
241
	use pic && myconf+=( --enable-pic )
242
242
243
	# Try to get cpu type based on CFLAGS.
244
	# Bug #172723
245
	# We need to do this so that features of that CPU will be better used
246
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
247
	# will just ignore it.
248
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
249
		[ "${i}" = "native" ] && i="host" # bug #273421
250
		myconf="${myconf} --cpu=${i}"
251
		break
252
	done
253
243
	# cross compile support
254
	# cross compile support
244
	if tc-is-cross-compiler ; then
255
	if tc-is-cross-compiler ; then
245
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
256
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-9.9999.ebuild (+11 lines)
Lines 240-245 Link Here
240
	# Option to force building pic
240
	# Option to force building pic
241
	use pic && myconf+=( --enable-pic )
241
	use pic && myconf+=( --enable-pic )
242
242
243
	# Try to get cpu type based on CFLAGS.
244
	# Bug #172723
245
	# We need to do this so that features of that CPU will be better used
246
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
247
	# will just ignore it.
248
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
249
		[ "${i}" = "native" ] && i="host" # bug #273421
250
		myconf="${myconf} --cpu=${i}"
251
		break
252
	done
253
243
	# cross compile support
254
	# cross compile support
244
	if tc-is-cross-compiler ; then
255
	if tc-is-cross-compiler ; then
245
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
256
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
(-)libav.orig/libav-9999.ebuild (+11 lines)
Lines 250-255 Link Here
250
	# Option to force building pic
250
	# Option to force building pic
251
	use pic && myconf+=( --enable-pic )
251
	use pic && myconf+=( --enable-pic )
252
252
253
	# Try to get cpu type based on CFLAGS.
254
	# Bug #172723
255
	# We need to do this so that features of that CPU will be better used
256
	# If they contain an unknown CPU it will not hurt since ffmpeg's configure
257
	# will just ignore it.
258
	for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
259
		[ "${i}" = "native" ] && i="host" # bug #273421
260
		myconf="${myconf} --cpu=${i}"
261
		break
262
	done
263
253
	# cross compile support
264
	# cross compile support
254
	if tc-is-cross-compiler ; then
265
	if tc-is-cross-compiler ; then
255
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
266
		myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )

Return to bug 458768