pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/connect Simplified the Makefile.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae5c880b79d2
branches:  trunk
changeset: 501452:ae5c880b79d2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 14:26:39 2005 +0000

description:
Simplified the Makefile.

diffstat:

 net/connect/Makefile |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (27 lines):

diff -r afe6d1d58dc5 -r ae5c880b79d2 net/connect/Makefile
--- a/net/connect/Makefile      Sun Oct 23 14:16:46 2005 +0000
+++ b/net/connect/Makefile      Sun Oct 23 14:26:39 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/06/17 03:50:24 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2005/10/23 14:26:39 rillig Exp $
 
 DISTNAME=      connect
 PKGNAME=       ${DISTNAME}-1.83
@@ -13,15 +13,8 @@
 EXTRACT_ONLY=  # empty
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == Darwin
-LIBS=  -lresolv
-.elif ${OPSYS} == SunOS
-LIBS=  -lsocket -lnsl
-.else
-LIBS=
-.endif
+LIBS.Darwin+=  -lresolv
+LIBS.SunOS+=   -lsocket -lnsl
 
 INSTALLATION_DIRS=     bin
 



Home | Main Index | Thread Index | Old Index