From f4c0e040585adf2d954199a10fcc98652ff617eb Mon Sep 17 00:00:00 2001 From: jschauma Date: Thu, 22 Aug 2002 18:51:12 +0000 Subject: Linux hides yp_* function implementations in libnsl, so add that library to LIBS when on linux. (Approved by jlam) --- www/php3/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/php3/Makefile b/www/php3/Makefile index d1fc43630c5..1a5ccb9632a 100644 --- a/www/php3/Makefile +++ b/www/php3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2002/07/24 19:45:31 jlam Exp $ +# $NetBSD: Makefile,v 1.35 2002/08/22 18:51:12 jschauma Exp $ PKGNAME= php-${BASE_VERS} PKGREVISION?= 1 @@ -40,3 +40,7 @@ do-install: .include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" + +.if ${OPSYS} == Linux +LIBS+= -lnsl +.endif -- cgit v1.2.3