diff options
author | joerg <joerg@pkgsrc.org> | 2014-11-04 21:40:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-11-04 21:40:48 +0000 |
commit | 2e6c255f67ff63f5bd72ee95841b91835bdcf7d4 (patch) | |
tree | e5223d1a46b5feb544901dd046afebe696a22b58 /ham | |
parent | c6015182a305c4fa71ae40f258310eb3be8c5738 (diff) | |
download | pkgsrc-2e6c255f67ff63f5bd72ee95841b91835bdcf7d4.tar.gz |
Replace patch with much simpler logic that actually works.
Diffstat (limited to 'ham')
-rw-r--r-- | ham/gr-fcdproplus/Makefile | 8 | ||||
-rw-r--r-- | ham/gr-fcdproplus/distinfo | 3 | ||||
-rw-r--r-- | ham/gr-fcdproplus/patches/patch-CMakeLists.txt | 14 |
3 files changed, 3 insertions, 22 deletions
diff --git a/ham/gr-fcdproplus/Makefile b/ham/gr-fcdproplus/Makefile index a8ae0b3cfe5..fe04a46312a 100644 --- a/ham/gr-fcdproplus/Makefile +++ b/ham/gr-fcdproplus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2014/10/13 13:07:13 mef Exp $ +# $NetBSD: Makefile,v 1.2 2014/11/04 21:40:48 joerg Exp $ DISTNAME= gr-fcdproplus_3.7.11.orig PKGNAME= ${DISTNAME:S/_/-/S/.orig//} @@ -23,11 +23,7 @@ CMAKE_ARGS+= -Wno-dev CMAKE_ARGS+= -DGNURADIO_RUNTIME_INCLUDE_DIRS=${PREFIX}/include PLIST_SUBST+= PYSITELIB=${PYSITELIB} -SUBST_CLASSES+= libusb -SUBST_FILES.libusb+= CMakeLists.txt -SUBST_STAGE.libusb= pre-configure -SUBST_SED.libusb= -e 's,@@PREFIX@@,${PREFIX},' -SUBST_MESSAGE.libusb= Fix for "libusb.h not found" +CFLAGS+= -I${PREFIX}/include/libusb-1.0 .include "../../devel/boost-headers/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" diff --git a/ham/gr-fcdproplus/distinfo b/ham/gr-fcdproplus/distinfo index 3375eb9d60b..5f8d2f11e82 100644 --- a/ham/gr-fcdproplus/distinfo +++ b/ham/gr-fcdproplus/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.1 2014/10/13 13:07:13 mef Exp $ +$NetBSD: distinfo,v 1.2 2014/11/04 21:40:48 joerg Exp $ SHA1 (gr-fcdproplus_3.7.11.orig.tar.xz) = f9997af287116c821e49209d65e7cb5525b21544 RMD160 (gr-fcdproplus_3.7.11.orig.tar.xz) = 571c4e698bd68d3f162cabb9dea03c7d4683ab10 Size (gr-fcdproplus_3.7.11.orig.tar.xz) = 102896 bytes -SHA1 (patch-CMakeLists.txt) = 63f8e5ba6fef409d64f66638dc94df3ef9d1f63a diff --git a/ham/gr-fcdproplus/patches/patch-CMakeLists.txt b/ham/gr-fcdproplus/patches/patch-CMakeLists.txt deleted file mode 100644 index 42ee5e0410c..00000000000 --- a/ham/gr-fcdproplus/patches/patch-CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-CMakeLists.txt,v 1.1 2014/10/13 13:53:19 mef Exp $ -.. work/gr-fcdproplus/lib/hid/hid.c:47:20: fatal error: libusb.h: No such file or directory - ---- CMakeLists.txt.orig 2014-10-03 09:19:29.000000000 +0900 -+++ CMakeLists.txt 2014-10-03 09:19:47.000000000 +0900 -@@ -44,7 +44,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SO - ######################################################################## - if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32) - #http://gcc.gnu.org/wiki/Visibility -- add_definitions(-fvisibility=hidden) -+ add_definitions(-fvisibility=hidden -I@@PREFIX@@/include/libusb-1.0) - endif() - ######################################################################## - # Find boost |