pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ruby-pcaprub ruby-pcaprub: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a090de9a1da4
branches:  trunk
changeset: 368958:a090de9a1da4
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sat Sep 23 19:50:09 2017 +0000

description:
ruby-pcaprub: fix build on SunOS

Needs help to use correct integer type and add libpcap buildlink.

diffstat:

 net/ruby-pcaprub/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 47c29fb01e87 -r a090de9a1da4 net/ruby-pcaprub/Makefile
--- a/net/ruby-pcaprub/Makefile Sat Sep 23 18:25:50 2017 +0000
+++ b/net/ruby-pcaprub/Makefile Sat Sep 23 19:50:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/09/05 18:30:56 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2017/09/23 19:50:09 wiedi Exp $
 
 DISTNAME=      pcaprub-0.12.4
 CATEGORIES=    net
@@ -8,5 +8,8 @@
 COMMENT=       Ruby libpcap bindings
 LICENSE=       gnu-lgpl-v2.1
 
+MAKE_ENV.SunOS+=       cppflags="-Du_int32_t=uint32_t"
+
+.include "../../net/libpcap/buildlink3.mk"
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index