pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tcptrace Convert to buildlink3 and use LDFLAGS.Sun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95569e224f24
branches:  trunk
changeset: 474057:95569e224f24
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 25 07:38:44 2004 +0000

description:
Convert to buildlink3 and use LDFLAGS.SunOS for simplicity.

diffstat:

 net/tcptrace/Makefile |  14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diffs (38 lines):

diff -r 9fd952023806 -r 95569e224f24 net/tcptrace/Makefile
--- a/net/tcptrace/Makefile     Sun Apr 25 06:58:43 2004 +0000
+++ b/net/tcptrace/Makefile     Sun Apr 25 07:38:44 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2004/02/14 00:54:45 grant Exp $
+# $NetBSD: Makefile,v 1.21 2004/04/25 07:38:44 snj Exp $
 # FreeBSD Id: Makefile,v 1.3 1997/07/19 19:43:36 fenner Exp
 #
 
@@ -11,17 +11,13 @@
 COMMENT=       TCP dump file analysis tool
 
 GNU_CONFIGURE= yes
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 
 ALL_TARGET=    tcptrace
 
 DOCFILES=      COPYRIGHT FAQ README README.tput_graphs
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+=      -lnsl -lsocket -lm
-.endif
+LDFLAGS.SunOS+=        -lnsl -lsocket -lm
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${PREFIX}/bin
@@ -31,6 +27,6 @@
        ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/tcptrace
 .endfor
 
-.include "../../archivers/bzip2/buildlink2.mk"
-.include "../../net/libpcap/buildlink2.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index