diff options
author | sbd <sbd> | 2013-04-17 09:10:06 +0000 |
---|---|---|
committer | sbd <sbd> | 2013-04-17 09:10:06 +0000 |
commit | 4034e3a4800a94e330552bfd373b4f79cfccef26 (patch) | |
tree | 41e3a5bc970f43fc2ecc927115dbb1ee2c5eb514 | |
parent | ef59ba41016c4eae209b0a5046ac0bdab6075a25 (diff) | |
download | pkgsrc-4034e3a4800a94e330552bfd373b4f79cfccef26.tar.gz |
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.)
So add a hack that creates a tool named netstat from ss.
-rw-r--r-- | databases/virtuoso/hacks.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/virtuoso/hacks.mk b/databases/virtuoso/hacks.mk new file mode 100644 index 00000000000..604eefd6052 --- /dev/null +++ b/databases/virtuoso/hacks.mk @@ -0,0 +1,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 |