Sorry, that patch got mixed in with the other diff. Attaching a corrected version.
Regards, -- Steven Chamberlain [email protected]
From: Steven Chamberlain <[email protected]> Subject: Fix build on GNU/kFreeBSD * Still need to link with -ldl, unlike regular BSD * Remove extraneous -llilv, which swig2.0 on BSD-like systems would fopen() even though it is a directory Index: lilv-0.14.2~dfsg0/wscript =================================================================== --- lilv-0.14.2~dfsg0.orig/wscript 2012-06-14 18:39:43.000000000 +0100 +++ lilv-0.14.2~dfsg0/wscript 2012-06-14 18:41:04.850520791 +0100 @@ -198,7 +198,7 @@ if bld.env['MSVC_COMPILER']: libflags = [] defines = ['snprintf=_snprintf'] - elif sys.platform.find('bsd') > 0: + elif sys.platform.find('bsd') > 0 and sys.platform.find('gnu') < 0: lib = [] # Shared Library @@ -324,7 +324,7 @@ source = 'bindings/lilv.i', target = 'bindings/_lilv', includes = ['..'], - swig_flags = '-c++ -python -Wall -I.. -llilv -features autodoc=1', + swig_flags = '-c++ -python -Wall -I.. -features autodoc=1', use = 'liblilv') autowaf.use_lib(bld, obj, 'LILV')

