[106814] trunk/dports/science/hackrf

michaelld at macports.org michaelld at macports.org
Sat Jun 8 12:01:43 PDT 2013


Revision: 106814
          https://trac.macports.org/changeset/106814
Author:   michaelld at macports.org
Date:     2013-06-08 12:01:43 -0700 (Sat, 08 Jun 2013)
Log Message:
-----------
hackrf: update to f522e8a3 (20130607)

Modified Paths:
--------------
    trunk/dports/science/hackrf/Portfile
    trunk/dports/science/hackrf/files/patch-no-gnu90.diff

Modified: trunk/dports/science/hackrf/Portfile
===================================================================
--- trunk/dports/science/hackrf/Portfile	2013-06-08 18:07:44 UTC (rev 106813)
+++ trunk/dports/science/hackrf/Portfile	2013-06-08 19:01:43 UTC (rev 106814)
@@ -5,8 +5,8 @@
 PortGroup           cmake 1.0
 PortGroup           github 1.0
 
-github.setup        mossmann hackrf f60cfd677f7379a6a95f7bfe128a220df3bb4147
-version             20130606
+github.setup        mossmann hackrf f522e8a3
+version             20130607
 maintainers         michaelld openmaintainer
 
 description         ${name} is a project to build a low cost software radio platform.
@@ -17,8 +17,8 @@
 
 long_description    ${description}
 
-checksums           rmd160  9a3f78a6c3b7044fd210838292119168b295bdc8 \
-                    sha256  4d46a7c799c35e756c23cd92ce45d71fcac9f4f3e27f59c894003bd2e12d6a64
+checksums           rmd160  2033e5f998d44644c9f066638f19a025e5ed9300 \
+                    sha256  3b7d38531786080213aa059e6407b54c9bbece5c7a58b72e27fc233304f248d0
 
 depends_build-append port:pkgconfig
 depends_lib-append   port:libusb
@@ -27,7 +27,6 @@
 # Temporary patch.
 
 patchfiles-append patch-no-gnu90.diff
-patch.pre_args -p1
 
 # do VPATH build
 

Modified: trunk/dports/science/hackrf/files/patch-no-gnu90.diff
===================================================================
--- trunk/dports/science/hackrf/files/patch-no-gnu90.diff	2013-06-08 18:07:44 UTC (rev 106813)
+++ trunk/dports/science/hackrf/files/patch-no-gnu90.diff	2013-06-08 19:01:43 UTC (rev 106814)
@@ -1,8 +1,16 @@
-diff --git a/host/hackrf-tools/CMakeLists.txt b/host/hackrf-tools/CMakeLists.txt
-index 8bf2a06..c03d43d 100644
---- a/host/hackrf-tools/CMakeLists.txt
-+++ b/host/hackrf-tools/CMakeLists.txt
-@@ -34,7 +34,6 @@ if(MSVC)
+--- host/libhackrf/CMakeLists.txt.orig	2013-06-08 14:49:37.000000000 -0400
++++ host/libhackrf/CMakeLists.txt	2013-06-08 14:49:50.000000000 -0400
+@@ -34,7 +34,6 @@
+ 	set(THREADS_USE_PTHREADS_WIN32 true)
+ else()
+ 	add_definitions(-Wall)
+-	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
+ 
+ 	INCLUDE(TestBigEndian)
+ 	TEST_BIG_ENDIAN(BIGENDIAN)
+--- host/hackrf-tools/CMakeLists.txt.orig	2013-06-08 14:49:42.000000000 -0400
++++ host/hackrf-tools/CMakeLists.txt	2013-06-08 14:49:54.000000000 -0400
+@@ -34,7 +34,6 @@
  include_directories(getopt)
  else()
  add_definitions(-Wall)
@@ -10,22 +18,3 @@
  endif()
  
  if(NOT libhackrf_SOURCE_DIR)
-diff --git a/host/libhackrf/CMakeLists.txt b/host/libhackrf/CMakeLists.txt
-index 649d861..7edd977 100644
---- a/host/libhackrf/CMakeLists.txt
-+++ b/host/libhackrf/CMakeLists.txt
-@@ -34,7 +34,6 @@ if(MSVC)
- set(THREADS_USE_PTHREADS_WIN32 true)
- else()
- add_definitions(-Wall)
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
- endif()
- find_package(USB1 REQUIRED)
- find_package(Threads REQUIRED)
-@@ -87,4 +86,4 @@ configure_file(
- add_custom_target(uninstall
-     ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
- )
--endif()
-\ No newline at end of file
-+endif()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130608/b98c3120/attachment.html>


More information about the macports-changes mailing list