[banshee] [build] Fix libmtp.so.* detection for FreeBSD



commit 9c9b33154a6524c1a493f81db11e28e11f880518
Author: Romain Tartière <romain blogreen org>
Date:   Mon Aug 24 21:57:43 2009 +0200

    [build] Fix libmtp.so.* detection for FreeBSD
    
    Expand the '\w+' to '[0-9][0-9]*' so that we have a POSIX
    compliant regular expression which works on FreeBSD.
    
    Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>

 build/m4/banshee/dap-mtp.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/m4/banshee/dap-mtp.m4 b/build/m4/banshee/dap-mtp.m4
index 95fe36d..9f744d0 100644
--- a/build/m4/banshee/dap-mtp.m4
+++ b/build/m4/banshee/dap-mtp.m4
@@ -15,7 +15,7 @@ AC_DEFUN([BANSHEE_CHECK_DAP_MTP],
 	fi
 
 	if test "x$enable_libmtp" = "xyes"; then
-		LIBMTP_SO_MAP=$(basename $(find $($PKG_CONFIG --variable=libdir libmtp) -maxdepth 1 -regex '.*libmtp\.so\.\w+$' | sort | tail -n 1))
+		LIBMTP_SO_MAP=$(basename $(find $($PKG_CONFIG --variable=libdir libmtp) -maxdepth 1 -regex '.*libmtp\.so\.[[0-9]][[0-9]]*$' | sort | tail -n 1))
 		AC_SUBST(LIBMTP_SO_MAP)
 	fi
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]