aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nsca-ng
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-27 09:59:02 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-27 09:59:02 +0800
commit475b555488a018df9f3f8a9dbb8f2c4469c07743 (patch)
tree72a186a991e2cbd34a83e59b4d1f00626fead01c /net-mgmt/nsca-ng
parent5a549adb52aa037bd080364c5bef365f8d9a1b40 (diff)
downloadfreebsd-ports-gnome-475b555488a018df9f3f8a9dbb8f2c4469c07743.tar.gz
freebsd-ports-gnome-475b555488a018df9f3f8a9dbb8f2c4469c07743.tar.zst
freebsd-ports-gnome-475b555488a018df9f3f8a9dbb8f2c4469c07743.zip
- Fix directory creation weirdness, fixing build of nsca-ng-client as non-root
Approved by: portmgr blanket
Diffstat (limited to 'net-mgmt/nsca-ng')
-rw-r--r--net-mgmt/nsca-ng/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/nsca-ng/Makefile b/net-mgmt/nsca-ng/Makefile
index 4040280d485a..25fff32ecafe 100644
--- a/net-mgmt/nsca-ng/Makefile
+++ b/net-mgmt/nsca-ng/Makefile
@@ -41,10 +41,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
post-install:
.if defined(PKGNAMESUFFIX)
- ${INSTALL_DATA} -d ${STAGEDIR}${PREFIX}/libexec/nagios/
+ ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios/
${LN} -s ${PREFIX}/sbin/send_nsca ${STAGEDIR}${PREFIX}/libexec/nagios/send_nsca
- ${INSTALL_DATA} -d ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTEXAMPLES} \
${STAGEDIR}${EXAMPLESDIR}