svn commit: r390689 - head/net-mgmt/nsca-ng

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Jun 27 01:59:03 UTC 2015


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}
 


More information about the svn-ports-all mailing list