Am 13.05.2011 21:40, schrieb Patrick Matthäi:
> Am 13.05.2011 18:47, schrieb Dan Dennedy:
>> echo "LIBDL=-ldl"
> 
> No, the patch would be something like:
.....
> 

So I have got now a working version of mlt on kfreebsd, the patch is
also quite small and simple. I would be happy if you would commit it.

http://nopaste.linux-dev.org/?11986

=>

diff -Naur mlt-0.7.2.orig/configure mlt-0.7.2/configure
--- mlt-0.7.2.orig/configure    2011-05-02 07:59:12.000000000 +0200
+++ mlt-0.7.2/configure    2011-05-13 23:46:57.000000000 +0200
@@ -82,7 +82,7 @@
         echo "SHFLAGS=-dynamiclib"
         echo "LDFLAGS+=`sdl-config --libs`"
         ;;
-        Linux)
+        Linux|GNU/kFreeBSD)
         [ "$(uname -m)" = "x86_64" ] && echo "ARCH_X86_64=1" && echo
"CFLAGS+=-DARCH_X86_64"
         [ "$optimisations" = "true" ] &&
             echo "OPTIMISATIONS+=-ffast-math"
diff -Naur mlt-0.7.2.orig/src/mlt++/configure mlt-0.7.2/src/mlt++/configure
--- mlt-0.7.2.orig/src/mlt++/configure    2011-05-02 07:59:12.000000000
+0200
+++ mlt-0.7.2/src/mlt++/configure    2011-05-13 23:46:57.000000000 +0200
@@ -10,7 +10,7 @@
         echo "CXXFLAGS+=-D__DARWIN__ -Wall -fPIC"
         echo "LIBFLAGS=-dynamiclib -single_module"
         ;;
-    Linux|FreeBSD|NetBSD)
+    Linux|FreeBSD|NetBSD|GNU/kFreeBSD)
         echo LIBSUF=.so
         echo "CXXFLAGS+=-Wall $WARNINGS -fPIC -DPIC"
         echo "LIBFLAGS=-shared"

<=


-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: [email protected]
        [email protected]

Comment:
Always if we think we are right,
we were maybe wrong.
*/

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to