summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-09-18 23:50:23 +0000
committerwiedi <wiedi@pkgsrc.org>2016-09-18 23:50:23 +0000
commitf58629b69e4202bea8f50437fc5ce8017e5b50ae (patch)
tree79b4657051a3f254419d464b0abd10bb9a3defa1
parent5c7769baf824d6b0c81e3e4633fb6a0e802360c1 (diff)
downloadpkgsrc-f58629b69e4202bea8f50437fc5ce8017e5b50ae.tar.gz
fix build on SunOS
-rw-r--r--net/unworkable/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/unworkable/Makefile b/net/unworkable/Makefile
index 3c0c9841dd3..b8f24b7f467 100644
--- a/net/unworkable/Makefile
+++ b/net/unworkable/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2016/03/05 11:29:13 jperkin Exp $
+# $NetBSD: Makefile,v 1.15 2016/09/18 23:50:23 wiedi Exp $
DISTNAME= unworkable-0.53
PKGREVISION= 2
@@ -10,10 +10,13 @@ HOMEPAGE= http://code.google.com/p/unworkable/
COMMENT= BSD-licensed command-line torrent client
LICENSE= isc
-USE_TOOLS+= yacc
+USE_TOOLS+= yacc nroff
WRKSRC= ${WRKDIR}/unworkable
MAKE_FILE= BSDmakefile
+CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+LDFLAGS.SunOS+= -lsocket -lnsl
+
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
post-configure: