aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nsca-ng
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-27 01:59:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-27 01:59:02 +0000
commit18319ed9a464657b3f9b06a309c13495b0136c23 (patch)
tree72a186a991e2cbd34a83e59b4d1f00626fead01c /net-mgmt/nsca-ng
parentdccba656950461fde6402999d04fb185a9451515 (diff)
downloadports-18319ed9a464657b3f9b06a309c13495b0136c23.tar.gz
ports-18319ed9a464657b3f9b06a309c13495b0136c23.zip
- Fix directory creation weirdness, fixing build of nsca-ng-client as non-root
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=390689
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}