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: [PATCH] devel/libsigc++: respect NOPORTDOCS Message-ID: <200702142352.l1ENqmvV031357@svm.csie.ntu.edu.tw>
index | next in thread | raw e-mail
>Submitter-Id: current-users
>Originator: Rong-En Fan
>Organization: NTU CSIE
>Confidential: no
>Synopsis: [PATCH] devel/libsigc++: respect NOPORTDOCS
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 6.2-PRERELEASE amd64
>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 ---
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702142352.l1ENqmvV031357>
