Index: head/comms/freedv/Makefile =================================================================== --- head/comms/freedv/Makefile (revision 441227) +++ head/comms/freedv/Makefile (revision 441228) @@ -1,31 +1,33 @@ # $FreeBSD$ PORTNAME= freedv -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.2 CATEGORIES= comms hamradio MASTER_SITES= http://files.freedv.org/freedv/ \ - LOCAL/shurd + LOCAL/db MAINTAINER= hamradio@FreeBSD.org COMMENT= Narrow band digital voice +LICENSE= LGPL21 + LIB_DEPENDS= libcodec2.so:audio/codec2 \ libportaudio.so:audio/portaudio \ libhamlib.so:comms/hamlib \ libsamplerate.so:audio/libsamplerate \ libsox.so:audio/sox \ libsndfile.so:audio/libsndfile \ + libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp USE_WX= 3.0+ USES= cmake:outsource compiler:c++11-lib tar:xz CMAKE_ARGS+= -DCODEC2_INCLUDE_DIRS=${LOCALBASE}/include/codec2 \ -DCODEC2_LIBRARY=${LOCALBASE}/lib/libcodec2.so \ -DUSE_STATIC_CODEC2=FALSE \ -DUSE_STATIC_PORTAUDIO=FALSE \ -DUSE_STATIC_SOX=FALSE \ -DUSE_STATIC_SPEEXDSP=FALSE INSTALLS_ICONS= yes .include Index: head/comms/freedv/distinfo =================================================================== --- head/comms/freedv/distinfo (revision 441227) +++ head/comms/freedv/distinfo (revision 441228) @@ -1,2 +1,3 @@ -SHA256 (freedv-1.1.tar.xz) = 3439930d73ebc9f58d39f4dff45356c3ee0e338a984e98ef8eb839eccaa44703 -SIZE (freedv-1.1.tar.xz) = 424420 +TIMESTAMP = 1495204498 +SHA256 (freedv-1.2.tar.xz) = 304f4d4febb3b6c74e6781c40535782c102df57b28383b35c2040bec11a97111 +SIZE (freedv-1.2.tar.xz) = 527124 Property changes on: head/comms/freedv/distinfo ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +1 \ No newline at end of property Index: head/comms/freedv/files/patch-CMakeLists.txt =================================================================== --- head/comms/freedv/files/patch-CMakeLists.txt (revision 441227) +++ head/comms/freedv/files/patch-CMakeLists.txt (revision 441228) @@ -1,24 +1,18 @@ ---- CMakeLists.txt.orig 2015-09-24 19:30:57 UTC +--- CMakeLists.txt.orig 2017-02-15 02:12:19 UTC +++ CMakeLists.txt -@@ -72,7 +72,7 @@ endif() - - - # Set default build flags. --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11") - +@@ -386,6 +387,7 @@ endif() # - # Setup cmake options -@@ -339,6 +339,12 @@ if(NOT USE_STATIC_SOX) - if(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR) - list(APPEND FREEDV_LINK_LIBS ${LIBSOX_LIBRARY}) - include_directories(${LIBSOX_INCLUDE_DIR}) -+ message(STATUS "Looking for static sox...") -+ find_library(STATIC_LIBSOX_LIBRARY libsox.a) -+ message(STATUS " static sox library: ${STATIC_LIBSOX_LIBRARY}") -+ if(STATIC_LIBSOX_LIBRARY) -+ list(APPEND FREEDV_LINK_LIBS ${STATIC_LIBSOX_LIBRARY}) -+ endif(STATIC_LIBSOX_LIBRARY) - else(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR) - message(FATAL_ERROR "sox library not found. - On Linux systems try installing: + # Find libdl for dlopen/dlclose + # ++if(DUMMYFLAG) + if(UNIX) + message(STATUS "Looking for dl library.") + find_library(DL_LIBRARY dl) +@@ -400,6 +402,7 @@ On Linux systems try installing: + ) + endif() + endif(UNIX) ++endif(DUMMUFLAG) + + + #Freedv Property changes on: head/comms/freedv/files/patch-CMakeLists.txt ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +1 \ No newline at end of property