pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/flodo - uppercase first letter of COMMENT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a102e038951
branches:  trunk
changeset: 481250:7a102e038951
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Sep 30 05:09:39 2004 +0000

description:
- uppercase first letter of COMMENT
- require libpcap>=0.8, and remove the related redundant comment
- use && in preference to ; in sh(1) block

diffstat:

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

diffs (30 lines):

diff -r e029af28991e -r 7a102e038951 net/flodo/Makefile
--- a/net/flodo/Makefile        Thu Sep 30 03:50:02 2004 +0000
+++ b/net/flodo/Makefile        Thu Sep 30 05:09:39 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/09/30 00:13:53 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2004/09/30 05:09:39 grant Exp $
 #
 
 DISTNAME=              flodo-v3
@@ -9,16 +9,17 @@
 
 MAINTAINER=            tech-pkg%netbsd.org@localhost
 HOMEPAGE=              http://arctic.org/~dean/flodo/
-COMMENT=               simple network flow sampling tool
+COMMENT=               Simple network flow sampling tool
 
 USE_BUILDLINK3=                yes
-USE_BUILTIN.libpcap=   no # NetBSD's libpcap is very old.
+USE_BUILTIN.libpcap=   no
+BUILDLINK_DEPENDS.libpcap+=    libpcap>=0.8
 
 CPPFLAGS+=             -I${BUILDLINK_PREFIX.libpcap}/include
 LDFLAGS+=              -L${BUILDLINK_PREFIX.libpcap}/lib
 
 do-build:
-       cd ${WRKSRC}; ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o flodo flodo.c -lpcap
+       cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o flodo flodo.c -lpcap
        
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/flodo ${PREFIX}/sbin



Home | Main Index | Thread Index | Old Index