diff options
author | joerg <joerg@pkgsrc.org> | 2008-03-15 15:09:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-03-15 15:09:54 +0000 |
commit | da7cb9c9a1e6e8f8b332eb2d648148e64da08423 (patch) | |
tree | cdf8342fc89b0263ec9b37194afe161a0ea17699 /ham | |
parent | fc164c693c65e3d69712067590da33f8318af4ba (diff) | |
download | pkgsrc-da7cb9c9a1e6e8f8b332eb2d648148e64da08423.tar.gz |
DESTDIR safe. Fix build on NetBSD-current.
Diffstat (limited to 'ham')
-rw-r--r-- | ham/gnuradio-core/Makefile | 4 | ||||
-rw-r--r-- | ham/gnuradio-core/distinfo | 3 | ||||
-rw-r--r-- | ham/gnuradio-core/patches/patch-ag | 15 |
3 files changed, 20 insertions, 2 deletions
diff --git a/ham/gnuradio-core/Makefile b/ham/gnuradio-core/Makefile index 475e8837555..fdd04c31fd4 100644 --- a/ham/gnuradio-core/Makefile +++ b/ham/gnuradio-core/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.16 2008/01/04 20:05:11 jmmv Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/15 15:09:54 joerg Exp $ PKGNAME= gnuradio-core-${VERSION} PKGREVISION= 1 COMMENT= Runtime system and DSP blocks for GNU Radio +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../meta-pkgs/gnuradio/Makefile.common" PATCHDIR= ${.CURDIR}/../../ham/gnuradio-core/patches diff --git a/ham/gnuradio-core/distinfo b/ham/gnuradio-core/distinfo index 98c28540cc9..7aa5a1421f4 100644 --- a/ham/gnuradio-core/distinfo +++ b/ham/gnuradio-core/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2007/08/08 03:05:05 wulf Exp $ +$NetBSD: distinfo,v 1.10 2008/03/15 15:09:54 joerg Exp $ SHA1 (gnuradio-3.0.4.tar.gz) = ce2d0bd4c5217cdda8c675c80a446ca38f274121 RMD160 (gnuradio-3.0.4.tar.gz) = a1d4ae0495f51c5b7349dd8d1305b4bfb16056dc @@ -9,3 +9,4 @@ SHA1 (patch-ac) = 348898e1e0d58c03295183ce8ce0ee4baf91bddb SHA1 (patch-ad) = af8bc66ee7c9856e31673e765a52a2fc56e35ebb SHA1 (patch-ae) = 63e3c4d08162c023efc4c0c97f2141366abc21d5 SHA1 (patch-af) = c65df8f0d4ace5a5d5acb1450940aebdf896b00b +SHA1 (patch-ag) = 988cc6e88ed88c4de910aafbb4e1d66a2ffead70 diff --git a/ham/gnuradio-core/patches/patch-ag b/ham/gnuradio-core/patches/patch-ag new file mode 100644 index 00000000000..999be1f1372 --- /dev/null +++ b/ham/gnuradio-core/patches/patch-ag @@ -0,0 +1,15 @@ +$NetBSD: patch-ag,v 1.3 2008/03/15 15:09:54 joerg Exp $ + +--- gnuradio-core/src/lib/general/random.h.orig 2008-03-15 15:34:46.000000000 +0100 ++++ gnuradio-core/src/lib/general/random.h +@@ -24,8 +24,9 @@ + #define _RANDOM_H_ + + // we use this because some systems (solaris) define RAND_MAX as 32767 +- ++#ifndef RANDOM_MAX + static const int RANDOM_MAX = 2147483647; ++#endif + + #include <stdlib.h> + |