pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/goofey use LDFLAGS.SunOS instead of an ${OPSYS} c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47a22b14ebc2
branches:  trunk
changeset: 466655:47a22b14ebc2
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jan 22 07:24:25 2004 +0000

description:
use LDFLAGS.SunOS instead of an ${OPSYS} conditional.

diffstat:

 chat/goofey/Makefile |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r 6d1bc4dc9154 -r 47a22b14ebc2 chat/goofey/Makefile
--- a/chat/goofey/Makefile      Thu Jan 22 07:14:59 2004 +0000
+++ b/chat/goofey/Makefile      Thu Jan 22 07:24:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/21 16:34:31 martti Exp $
+# $NetBSD: Makefile,v 1.5 2004/01/22 07:24:25 grant Exp $
 #
 
 DISTNAME=      goofey-3.15
@@ -11,12 +11,7 @@
 COMMENT=       Text-based client for goofey, a flexible short message system
 
 NO_CONFIGURE=  # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+=      -lnsl -lsocket
-.endif
+LDFLAGS.SunOS= -lnsl -lsocket
 
 do-build:
        cd ${WRKSRC}; ${CC} ${CFLAGS} ${LDFLAGS} -o goofey goofey.c



Home | Main Index | Thread Index | Old Index