Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  7 Dec 2006 23:29:47 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106446: [PATCH] sysutils/bsdstats: Add net/netcat to RUN_DEPENDS only when base system does not have nc(1).
Message-ID:  <20061207142947.CDE8333@eastasia.home.utahime.org>
Resent-Message-ID: <200612071430.kB7EUIa8051071@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106446
>Category:       ports
>Synopsis:       [PATCH] sysutils/bsdstats: Add net/netcat to RUN_DEPENDS only when base system does not have nc(1).
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 14:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KIMURA Yasuhiro
>Release:        FreeBSD 6.1-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD eastasia.home.utahime.org 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Wed Dec 6 21:28:24 JST 2006 root@eastasia.home.utahime.org:/usr/obj/usr1/freebsd/src/releng_6_1/src/sys/EASTASIA i386


	
>Description:
	Add net/netcat to RUN_DEPENDS only when base system does not have nc(1).

	
>How-To-Repeat:
	
>Fix:

	

--- patch-bsdstats begins here ---
Index: Makefile
===================================================================
RCS file: /usr1/freebsd/cvsroot/ports/sysutils/bsdstats/Makefile,v
retrieving revision 1.46
diff -u -r1.46 Makefile
--- Makefile	5 Dec 2006 13:49:45 -0000	1.46
+++ Makefile	7 Dec 2006 14:22:02 -0000
@@ -13,15 +13,17 @@
 MAINTAINER=	scrappy@freebsd.org
 COMMENT=	Monthly script for reporting anonymous statistics about your machine
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503102 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600010)
 RUN_DEPENDS=	nc:${PORTSDIR}/net/netcat
+.endif
 
 NO_BUILD=	yes
 PLIST_FILES=	etc/periodic/monthly/300.statistics
 PLIST_DIRS=	etc/periodic/monthly \
 		etc/periodic
 
-.include <bsd.port.pre.mk>
-
 do-install:
 	${MKDIR} ${LOCALBASE}/etc/periodic/monthly
 	${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
--- patch-bsdstats ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061207142947.CDE8333>