Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2015 01:59:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390689 - head/net-mgmt/nsca-ng
Message-ID:  <201506270159.t5R1x2Nt018676@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jun 27 01:59:02 2015
New Revision: 390689
URL: https://svnweb.freebsd.org/changeset/ports/390689

Log:
  - Fix directory creation weirdness, fixing build of nsca-ng-client as non-root
  
  Approved by:	portmgr blanket

Modified:
  head/net-mgmt/nsca-ng/Makefile

Modified: head/net-mgmt/nsca-ng/Makefile
==============================================================================
--- head/net-mgmt/nsca-ng/Makefile	Sat Jun 27 01:48:50 2015	(r390688)
+++ head/net-mgmt/nsca-ng/Makefile	Sat Jun 27 01:59:02 2015	(r390689)
@@ -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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506270159.t5R1x2Nt018676>