Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2013 22:49:35 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177003: [MAINTAINER] comms/spandsp-devel: Port is now safe with NOPORTDOCS=yes
Message-ID:  <20130315214939.AB872DA5@hub.freebsd.org>
Resent-Message-ID: <201303152150.r2FLo0wC032572@freefall.freebsd.org>

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

>Number:         177003
>Category:       ports
>Synopsis:       [MAINTAINER] comms/spandsp-devel: Port is now safe with NOPORTDOCS=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 15 21:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

Makefile changed:
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} <-- to install only if are enabled Doxygen and DOCS

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

Port is now safe with NOPORTDOCS=yes in /etc/make.conf

port test: clean

>Fix:

--- spandsp-devel-0.0.6.p21_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/comms/spandsp-devel/Makefile ./Makefile
--- /usr/ports/comms/spandsp-devel/Makefile	2013-02-15 20:10:11.000000000 +0100
+++ ./Makefile	2013-03-15 22:39:14.000000000 +0100
@@ -2,6 +2,7 @@
 
 PORTNAME=	spandsp
 DISTVERSION=	0.0.6pre21
+PORTREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	http://www.soft-switch.org/downloads/spandsp/
 PKGNAMESUFFIX=	-devel
@@ -30,7 +31,7 @@
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
 CONFIGURE_ARGS+=--enable-doc
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
 		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
@@ -41,7 +42,7 @@
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOXYGEN}
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	(cd ${WRKSRC}/doc && \
 		${COPYTREE_SHARE} \* ${DOCSDIR} "-type d -or -mindepth 1")
--- spandsp-devel-0.0.6.p21_1.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?20130315214939.AB872DA5>