pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ns-remote use LDFLAGS.SunOS instead of conditional.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a5eb67ca3c4
branches:  trunk
changeset: 468462:3a5eb67ca3c4
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Feb 14 01:04:02 2004 +0000

description:
use LDFLAGS.SunOS instead of conditional.

diffstat:

 www/ns-remote/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 2f9ab1e5d8c8 -r 3a5eb67ca3c4 www/ns-remote/Makefile
--- a/www/ns-remote/Makefile    Sat Feb 14 01:03:54 2004 +0000
+++ b/www/ns-remote/Makefile    Sat Feb 14 01:04:02 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/02/14 01:03:29 grant Exp $
+# $NetBSD: Makefile,v 1.20 2004/02/14 01:04:02 grant Exp $
 
 DISTNAME=      ns-remote
 PKGNAME=       ns-remote-1.9
@@ -16,11 +16,7 @@
 USE_BUILDLINK2=        # defined
 USE_X11=       # defined
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+=      -lsocket -lnsl
-.endif
+LDFLAGS.SunOS= -lsocket -lnsl
 
 do-extract:
        ${MKDIR} ${WRKSRC}



Home | Main Index | Thread Index | Old Index