ports/comms/rtl-sdr/files/patch-configure.ac
Jan Beich 7277ec6a16 Assume "pkg-config libusb*" works after 9.x EOL
FreeBSD appears to use different pkg-config name for 0.1.x API but it
doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS.
2017-01-05 22:58:02 +00:00

11 lines
381 B
Text

--- configure.ac.orig 2012-08-23 08:40:54.000000000 +0200
+++ configure.ac 2012-08-23 11:47:20.000000000 +0200
@@ -34,7 +32,7 @@
dnl checks for required libraries
dnl pthreads
-AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
+AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -pthread"])
dnl libmath (for rtl_fm)
AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"])