Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 20:07:30 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441196 - in head/net/hsflowd: . files
Message-ID:  <201705182007.v4IK7U8s004387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Thu May 18 20:07:30 2017
New Revision: 441196
URL: https://svnweb.freebsd.org/changeset/ports/441196

Log:
  - Fix build with bmake
  - Remove SF from MASTER_SITES, upstream moved to github, but there is no distfile for 1.24.1 on it
  
  PR:	218831
  Approved by:	zi (maintainer)

Added:
  head/net/hsflowd/files/patch-src_FreeBSD_Makefile   (contents, props changed)
Modified:
  head/net/hsflowd/Makefile

Modified: head/net/hsflowd/Makefile
==============================================================================
--- head/net/hsflowd/Makefile	Thu May 18 20:03:39 2017	(r441195)
+++ head/net/hsflowd/Makefile	Thu May 18 20:07:30 2017	(r441196)
@@ -4,13 +4,11 @@
 PORTNAME=	hsflowd
 PORTVERSION=	1.24.1
 CATEGORIES=	net
-MASTER_SITES=	SF/host-sflow/Latest/ \
-		http://mirrors.rit.edu/zi/
+MASTER_SITES= http://mirrors.rit.edu/zi/
 
 MAINTAINER=	zi@FreeBSD.org
 COMMENT=	Agent that exports metrics using the sFlow protocol
 
-USES=		fmake
 SUB_FILES=	pkg-message
 USE_RC_SUBR=	${PORTNAME}
 MAKE_ENV=	BINDIR=${PREFIX}/sbin INITDIR=${PREFIX}/etc/rc.d \

Added: head/net/hsflowd/files/patch-src_FreeBSD_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/hsflowd/files/patch-src_FreeBSD_Makefile	Thu May 18 20:07:30 2017	(r441196)
@@ -0,0 +1,38 @@
+--- src/FreeBSD/Makefile.orig	2017-03-13 18:07:09 UTC
++++ src/FreeBSD/Makefile
+@@ -1,22 +1,22 @@
+ # This software is distributed under the following license:
+ # http://host-sflow.sourceforge.net/license.html
+ 
+-.if empty $(BINDIR)
++.if empty(BINDIR)
+    BINDIR=/usr/sbin
+ .endif
+ 
+-.if empty $(INITDIR)
++.if empty(INITDIR)
+    INITDIR=/etc/rc.d
+ .endif
+ 
+-.if empty $(CONFDIR)
++.if empty(CONFDIR)
+    CONFDIR=/etc
+ .endif
+ 
+ INSTALL=install
+ 
+ # INSTROOT may be passed in, e.g. RPM_BUILD_ROOT
+-.if empty $(INSTROOT)
++.if empty(INSTROOT)
+   BIN_D=$(BINDIR)
+   INIT_D=$(INITDIR)
+   CONF_D=$(CONFDIR)
+@@ -36,7 +36,7 @@ CC= gcc -std=gnu99
+ OPT_FULL = -O3 -DNDEBUG
+ OPT_DEBUG = -g -ggdb
+ 
+-.if empty $(OPT)
++.if empty(OPT)
+   OPT=$(OPT_FULL)
+ .endif
+ 



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