Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 07:52:48 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/109180: [PATCH] devel/libsigc++: respect NOPORTDOCS
Message-ID:  <200702142352.l1ENqmvV031357@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200702150000.l1F00Ec1071182@freefall.freebsd.org>

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

>Number:         109180
>Category:       ports
>Synopsis:       [PATCH] devel/libsigc++: respect NOPORTDOCS
>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 15 00:00:13 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Respect NOPORTDOCS

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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libsigc++-2.0.17_1.patch begins here ---
? libsigc++-2.0.17_1.tbz
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/devel/libsigc++20/Makefile,v
retrieving revision 1.43
diff -u -u -r1.43 Makefile
--- Makefile	28 Jan 2007 09:07:38 -0000	1.43
+++ Makefile	14 Feb 2007 23:51:12 -0000
@@ -31,5 +31,10 @@
 post-patch:
 	@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \
 		/^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+	@${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \
+		s/^\(SUBDIRS =\).*/\1/" \
+		${WRKSRC}/docs/Makefile.in
+.endif
 
 .include <bsd.port.mk>
--- libsigc++-2.0.17_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?200702142352.l1ENqmvV031357>