aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ng_ipacct
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2013-12-20 18:22:32 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2013-12-20 18:22:32 +0000
commit002cc9766301b0751ee9636c43e83c724f7a7384 (patch)
tree9f4a63f75073be7d10457f83bb32f7962654635e /net-mgmt/ng_ipacct
parent551f69dcc36425f3ac07058ff5786db8c2ec658b (diff)
downloadports-002cc9766301b0751ee9636c43e83c724f7a7384.tar.gz
ports-002cc9766301b0751ee9636c43e83c724f7a7384.zip
- Fix build on systems without /usr/share/mk/bsd.compat.mk
Notes
Notes: svn path=/head/; revision=337061
Diffstat (limited to 'net-mgmt/ng_ipacct')
-rw-r--r--net-mgmt/ng_ipacct/Makefile2
-rw-r--r--net-mgmt/ng_ipacct/files/patch-ipacctctl_Makefile15
2 files changed, 16 insertions, 1 deletions
diff --git a/net-mgmt/ng_ipacct/Makefile b/net-mgmt/ng_ipacct/Makefile
index 143d45dfdce9..b7aeab378d4b 100644
--- a/net-mgmt/ng_ipacct/Makefile
+++ b/net-mgmt/ng_ipacct/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ng_ipacct
PORTVERSION= 20061223
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_LOCAL:S!$!skv/!} \
http://highsecure.ru/distfiles/
diff --git a/net-mgmt/ng_ipacct/files/patch-ipacctctl_Makefile b/net-mgmt/ng_ipacct/files/patch-ipacctctl_Makefile
new file mode 100644
index 000000000000..0327b751ca4c
--- /dev/null
+++ b/net-mgmt/ng_ipacct/files/patch-ipacctctl_Makefile
@@ -0,0 +1,15 @@
+--- ipacctctl/Makefile.orig 2013-12-20 18:19:33.000000000 +0000
++++ ipacctctl/Makefile 2013-12-20 18:19:52.000000000 +0000
+@@ -5,12 +5,7 @@
+ BINDIR?= /usr/local/sbin
+
+ PROG= ipacctctl
+-.if !exists(/usr/share/mk/bsd.compat.mk)
+-# Pre NOFOO -> NO_FOO system
+-NOMAN= YES
+-.else
+ NO_MAN= YES
+-.endif
+
+ COPTS+= -g -Wall -Wformat
+ LDADD+= -lnetgraph