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

Collapse All | Expand All

(-)mlt-0.9.0/src/swig/ruby/build~ (-2 / +7 lines)
Lines 6-12 Link Here
6
end
6
end
7
system( "ln -sf ../mlt.i" )
7
system( "ln -sf ../mlt.i" )
8
system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" )
8
system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" )
9
$CFLAGS += " -I../.. " + ENV['CXXFLAGS']
9
$CFLAGS += (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '')
10
$LDFLAGS += " -L../../mlt++ -lmlt++"
10
$INCFLAGS += " -I../.. "
11
$LDFLAGS += " -L../../mlt++ -lmlt++ -L../../framework/ -lmlt"
12
puts "Building ruby wrapper with"
13
puts "  CFLAGS   = #{$CFLAGS}"
14
puts "  INCFLAGS = #{$INCFLAGS}"
15
puts "  LDFLAGS  = #{$LDFLAGS}"
11
create_makefile('mlt')
16
create_makefile('mlt')
12
system( "make" )
17
system( "make" )
(-)mlt-0.9.0/src/swig/Makefile~ (-1 / +1 lines)
Lines 6-12 Link Here
6
	for subdir in $$list; do \
6
	for subdir in $$list; do \
7
		if [ -x $$subdir/build -a ! -f .$$subdir -o $@ = clean ] ; \
7
		if [ -x $$subdir/build -a ! -f .$$subdir -o $@ = clean ] ; \
8
		then echo -n Building $$subdir... ; \
8
		then echo -n Building $$subdir... ; \
9
			cd $$subdir && output=`CXXFLAGS="$(CXXFLAGS)" ./build $@ 2>&1` ; \
9
			cd $$subdir && output=$$(CXXFLAGS="$(CXXFLAGS)" ./build $@) ; \
10
			if [ $$? -eq 0 ] ; \
10
			if [ $$? -eq 0 ] ; \
11
			then echo OK && touch ../.$$subdir ; \
11
			then echo OK && touch ../.$$subdir ; \
12
			else echo $$output && exit 1 ; \
12
			else echo $$output && exit 1 ; \

Return to bug 480574