Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 07:02:14 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        timur@FreeBSD.org
Subject:   ports/187124: [PATCH] net/samba41: fix install/package failure when DOCS option is off
Message-ID:  <20140227230214.2BC0F34BC@sunpoet.net>
Resent-Message-ID: <201402272310.s1RNA00d055026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187124
>Category:       ports
>Synopsis:       [PATCH] net/samba41: fix install/package failure when DOCS option is off
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 27 23:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r261402: Mon Feb  3 22:35:15
>Description:
- Fix install/package failure when DOCS option is off

Port maintainer (timur@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.18 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- samba41-4.1.4.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 346383)
+++ Makefile	(working copy)
@@ -518,12 +518,12 @@
 			@(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} ${STAGEDIR}${SAMBA4_MODULEDIR} ${SAMBA4_PRIVATEDIR}
--- samba41-4.1.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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