diff options
author | jschauma <jschauma> | 2002-08-22 18:51:12 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2002-08-22 18:51:12 +0000 |
commit | f4c0e040585adf2d954199a10fcc98652ff617eb (patch) | |
tree | 8bebbc8ffdaa8436cc328f65ab51a0f0172bf608 /www/php3 | |
parent | 3da77c7e87ca9c7dcc2649210700c93a23378f5f (diff) | |
download | pkgsrc-f4c0e040585adf2d954199a10fcc98652ff617eb.tar.gz |
Linux hides yp_* function implementations in libnsl, so add that
library to LIBS when on linux. (Approved by jlam)
Diffstat (limited to 'www/php3')
-rw-r--r-- | www/php3/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |