mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- 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)
This commit is contained in:
parent
b98443d2c1
commit
f32d6877bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441196
2 changed files with 39 additions and 3 deletions
|
@ -4,13 +4,11 @@
|
||||||
PORTNAME= hsflowd
|
PORTNAME= hsflowd
|
||||||
PORTVERSION= 1.24.1
|
PORTVERSION= 1.24.1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= SF/host-sflow/Latest/ \
|
MASTER_SITES= http://mirrors.rit.edu/zi/
|
||||||
http://mirrors.rit.edu/zi/
|
|
||||||
|
|
||||||
MAINTAINER= zi@FreeBSD.org
|
MAINTAINER= zi@FreeBSD.org
|
||||||
COMMENT= Agent that exports metrics using the sFlow protocol
|
COMMENT= Agent that exports metrics using the sFlow protocol
|
||||||
|
|
||||||
USES= fmake
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
USE_RC_SUBR= ${PORTNAME}
|
USE_RC_SUBR= ${PORTNAME}
|
||||||
MAKE_ENV= BINDIR=${PREFIX}/sbin INITDIR=${PREFIX}/etc/rc.d \
|
MAKE_ENV= BINDIR=${PREFIX}/sbin INITDIR=${PREFIX}/etc/rc.d \
|
||||||
|
|
38
net/hsflowd/files/patch-src_FreeBSD_Makefile
Normal file
38
net/hsflowd/files/patch-src_FreeBSD_Makefile
Normal file
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue