pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/unworkable fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75f9b10a054e
branches:  trunk
changeset: 352779:75f9b10a054e
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sun Sep 18 23:50:23 2016 +0000

description:
fix build on SunOS

diffstat:

 net/unworkable/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r a90789115762 -r 75f9b10a054e net/unworkable/Makefile
--- a/net/unworkable/Makefile   Sun Sep 18 23:47:22 2016 +0000
+++ b/net/unworkable/Makefile   Sun Sep 18 23:50:23 2016 +0000
@@ -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 @@
 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:



Home | Main Index | Thread Index | Old Index