Tue Dec 10 14:03:30 2013 UTC ()
Add socket libraries and inttypes on SunOS.  Patch from Sebastian Wiedenroth.


(jperkin)
diff -r1.14 -r1.15 pkgsrc/net/freenet-tools/Makefile

cvs diff -r1.14 -r1.15 pkgsrc/net/freenet-tools/Makefile (expand / switch to unified diff)

--- pkgsrc/net/freenet-tools/Makefile 2012/10/23 17:18:21 1.14
+++ pkgsrc/net/freenet-tools/Makefile 2013/12/10 14:03:30 1.15
@@ -1,29 +1,31 @@ @@ -1,29 +1,31 @@
1# $NetBSD: Makefile,v 1.14 2012/10/23 17:18:21 asau Exp $ 1# $NetBSD: Makefile,v 1.15 2013/12/10 14:03:30 jperkin Exp $
2# 2#
3 3
4DISTNAME= ft-0.2.25 4DISTNAME= ft-0.2.25
5PKGNAME= ${DISTNAME:S/ft-/freenet-tools-/} 5PKGNAME= ${DISTNAME:S/ft-/freenet-tools-/}
6WRKSRC= ${WRKDIR}/ft 6WRKSRC= ${WRKDIR}/ft
7CATEGORIES= net www 7CATEGORIES= net www
8MASTER_SITES= http://entropy.stop1984.com/files/ 8MASTER_SITES= http://entropy.stop1984.com/files/
9EXTRACT_SUFX= .tgz 9EXTRACT_SUFX= .tgz
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://entropy.stop1984.com/ 12HOMEPAGE= http://entropy.stop1984.com/
13COMMENT= Freenet Tools, freesite manipulation tools for Freenet and Entropy 13COMMENT= Freenet Tools, freesite manipulation tools for Freenet and Entropy
14 14
15USE_TOOLS+= gmake 15USE_TOOLS+= gmake
16 16
17MAKE_FLAGS+= CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:M*:Q} LDFLAGS=${LDFLAGS:M*:Q} 17MAKE_FLAGS+= CC=${CC:Q} LD=${CC:Q} CFLAGS=${CFLAGS:M*:Q} LDFLAGS=${LDFLAGS:M*:Q}
18CFLAGS+= -DFT_BIN=\"${PREFIX}/bin\" -D_DEBUG 18CFLAGS+= -DFT_BIN=\"${PREFIX}/bin\" -D_DEBUG
 19CFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t
 20LDFLAGS.SunOS+= -lsocket -lnsl
19 21
20INSTALLATION_DIRS= bin 22INSTALLATION_DIRS= bin
21 23
22do-install: 24do-install:
23 ${INSTALL_PROGRAM} ${WRKSRC}/ft ${DESTDIR}${PREFIX}/bin/ft 25 ${INSTALL_PROGRAM} ${WRKSRC}/ft ${DESTDIR}${PREFIX}/bin/ft
24.for f in fcpbroadcast fcpchk fcpget fcpgetsite fcphello fcpinv fcpkey \ 26.for f in fcpbroadcast fcpchk fcpget fcpgetsite fcphello fcpinv fcpkey \
25 fcpput fcpputsite fcpreceive 27 fcpput fcpputsite fcpreceive
26 ${LN} -s -f ft ${DESTDIR}${PREFIX}/bin/${f} 28 ${LN} -s -f ft ${DESTDIR}${PREFIX}/bin/${f}
27.endfor 29.endfor
28 30
29.include "../../mk/bsd.pkg.mk" 31.include "../../mk/bsd.pkg.mk"