- Fix build on systems without /usr/share/mk/bsd.compat.mk

This commit is contained in:
Vsevolod Stakhov 2013-12-20 18:22:32 +00:00
parent 551f69dcc3
commit 002cc97663
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337061
2 changed files with 16 additions and 1 deletions

View file

@ -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/

View file

@ -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