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~ (-3 / +5 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
$LDFLAGS  += " -lmlt++ -lmlt "
11
create_makefile('mlt')
11
$INCFLAGS += " -I../.. "
12
create_makefile('mlt')
13
system( "sed -ie \"/^LIBPATH/s|=|= -L../../mlt++ -L../../framework |\" Makefile" )
12
system( "make" )
14
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