svn commit: r356384 - head/net/samba41

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Jun 3 17:28:23 UTC 2014


Author: sunpoet
Date: Tue Jun  3 17:28:22 2014
New Revision: 356384
URL: http://svnweb.freebsd.org/changeset/ports/356384
QAT: https://qat.redports.org/buildarchive/r356384/

Log:
  - Fix install/package failure when DOCS option is off
  
  This was committed in r348216 and erroneously reverted in r351659.
  
  PR:		ports/187124
  Submitted by:	sunpoet (myself)

Modified:
  head/net/samba41/Makefile

Modified: head/net/samba41/Makefile
==============================================================================
--- head/net/samba41/Makefile	Tue Jun  3 17:20:45 2014	(r356383)
+++ head/net/samba41/Makefile	Tue Jun  3 17:28:22 2014	(r356384)
@@ -519,12 +519,12 @@ do-install:
 			@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} ${INSTALL_TARGET})
 
 post-install:
+			@${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz
 .if ${PORT_OPTIONS:MDOCS}
 			@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .	for doc in ${PORTDOCS}
 			@${INSTALL_DATA} ${WRKDIR}/${doc} ${STAGEDIR}${DOCSDIR}
 .	endfor
-			@${LN} -sf smb.conf.5.gz ${STAGEDIR}${PREFIX}/man/man5/smb4.conf.5.gz
 .endif
 # Run post-install script
 .for dir in ${SAMBA4_LOGDIR} ${SAMBA4_RUNDIR} ${SAMBA4_LOCKDIR} ${SAMBA4_MODULEDIR} ${SAMBA4_PRIVATEDIR}


More information about the svn-ports-head mailing list