summaryrefslogtreecommitdiff
path: root/net/ruby-pcaprub
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2017-09-23 19:50:09 +0000
committerwiedi <wiedi@pkgsrc.org>2017-09-23 19:50:09 +0000
commitd5e480887ae14506c2ad11fa2c0667844ffc734f (patch)
treeb893d0a81669703ed9e887ab44ba7070856e0206 /net/ruby-pcaprub
parentc0279a5b2e1cb253a0dd17db352c8169eae304be (diff)
downloadpkgsrc-d5e480887ae14506c2ad11fa2c0667844ffc734f.tar.gz
ruby-pcaprub: fix build on SunOS
Needs help to use correct integer type and add libpcap buildlink.
Diffstat (limited to 'net/ruby-pcaprub')
-rw-r--r--net/ruby-pcaprub/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ruby-pcaprub/Makefile b/net/ruby-pcaprub/Makefile
index 989ae399888..75b3797793d 100644
--- a/net/ruby-pcaprub/Makefile
+++ b/net/ruby-pcaprub/Makefile
@@ -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 @@ HOMEPAGE= https://github.com/pcaprub/pcaprub
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"