diff options
-rw-r--r-- | www/http_load/Makefile | 7 | ||||
-rw-r--r-- | www/ijb/Makefile | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/www/http_load/Makefile b/www/http_load/Makefile index 9efb9a6758c..cb600967dc5 100644 --- a/www/http_load/Makefile +++ b/www/http_load/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2013/02/06 23:24:00 jperkin Exp $ +# $NetBSD: Makefile,v 1.22 2013/12/10 12:29:00 jperkin Exp $ DISTNAME= http_load-12mar2006 PKGNAME= http_load-20060312 @@ -13,5 +13,10 @@ LICENSE= 2-clause-bsd MAKE_ENV+= SSLBASE=${SSLBASE:Q} +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +MAKE_ENV+= SYSV_LIBS="-lnsl -lsocket -lresolv" +.endif + .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ijb/Makefile b/www/ijb/Makefile index 6b4c9b14f44..a9a101609f4 100644 --- a/www/ijb/Makefile +++ b/www/ijb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/10/28 06:30:18 asau Exp $ +# $NetBSD: Makefile,v 1.11 2013/12/10 12:24:24 jperkin Exp $ # DISTNAME= ijb20 @@ -14,6 +14,8 @@ COMMENT= Internet Junkbuster Proxy to block banner ads and cookies MAKE_ENV+= MORE_CFLAGS=${CFLAGS:M*:Q} +LDFLAGS.SunOS+= -lnsl -lsocket + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/junkbuster do-install: |