summaryrefslogtreecommitdiff
path: root/databases/virtuoso/hacks.mk
blob: 604eefd6052fe3223cde25fe1ce6f48fd4842edb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: hacks.mk,v 1.1 2013/04/17 09:10:06 sbd Exp $

.if !defined(VIRTUOSO_HACKS_MK)
VIRTUOSO_HACKS_MK=	1

### [Wed Apr 17 19:21:24 NZST 2013 : sbd]
### Not all linux systems will have netstat(8), but if they don't then 
### they'll have ss(8) which does the same thing.
### (With out netstat the build stalls in an endless for loop.)
###
.if ${OPSYS} == "Linux"
post-tools:
	@if ! which netstat >/dev/null 2>/dev/null; then 		\
		${LN} -sf /sbin/ss ${TOOLS_DIR}/bin/netstat;		\
	fi
.endif

.endif # VIRTUOSO_HACKS_MK