Thu Sep 25 20:02:51 2014 UTC ()
SunOS needs -lsocket -lnsl.


(jperkin)
diff -r1.4 -r1.5 pkgsrc/www/sqtop/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/www/sqtop/Makefile (expand / switch to unified diff)

--- pkgsrc/www/sqtop/Makefile 2014/08/18 09:18:23 1.4
+++ pkgsrc/www/sqtop/Makefile 2014/09/25 20:02:51 1.5
@@ -1,28 +1,30 @@ @@ -1,28 +1,30 @@
1# $NetBSD: Makefile,v 1.4 2014/08/18 09:18:23 joerg Exp $ 1# $NetBSD: Makefile,v 1.5 2014/09/25 20:02:51 jperkin Exp $
2 2
3DISTNAME= sqtop-2013-12-17 3DISTNAME= sqtop-2013-12-17
4PKGNAME= ${DISTNAME:C/([0-9])-/\1/g} 4PKGNAME= ${DISTNAME:C/([0-9])-/\1/g}
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= http://sqtop.googlecode.com/files/ 6MASTER_SITES= http://sqtop.googlecode.com/files/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= rodent@NetBSD.org 9MAINTAINER= rodent@NetBSD.org
10HOMEPAGE= http://code.google.com/p/sqtop/ 10HOMEPAGE= http://code.google.com/p/sqtop/
11COMMENT= Display active client connections for Squid 11COMMENT= Display active client connections for Squid
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14DEPENDS+= squid-[0-9]*:../../www/squid3 14DEPENDS+= squid-[0-9]*:../../www/squid3
15 15
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
18 18
 19LDFLAGS.SunOS+= -lsocket -lnsl
 20
19.include "../../mk/bsd.prefs.mk" 21.include "../../mk/bsd.prefs.mk"
20 22
21.if ${OPSYS} == "NetBSD" 23.if ${OPSYS} == "NetBSD"
22CONFIGURE_ARGS+= --with-resolver=netdb_getnameinfo 24CONFIGURE_ARGS+= --with-resolver=netdb_getnameinfo
23.endif 25.endif
24 26
25.include "../../mk/resolv.buildlink3.mk" 27.include "../../mk/resolv.buildlink3.mk"
26.include "../../devel/ncurses/buildlink3.mk" 28.include "../../devel/ncurses/buildlink3.mk"
27.include "../../mk/pthread.buildlink3.mk" 29.include "../../mk/pthread.buildlink3.mk"
28.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"