ports/131271: [PATCH] devel/libcheck: fix plist when NOPORTEXAMPLES=1
Rong-En Fan
rafan at FreeBSD.org
Mon Feb 2 02:30:05 UTC 2009
>Number: 131271
>Category: ports
>Synopsis: [PATCH] devel/libcheck: fix plist when NOPORTEXAMPLES=1
>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: Mon Feb 02 02:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Rong-En Fan
>Release: FreeBSD
>Organization:
NTU CSIE
>Environment:
>Description:
This port breaks when NOPORTEXAMPLES is defined. In addition, info pages are
not governed by NOPORTDOCS per Porter's Handbook.
Port maintainer (sunpoet at sunpoet.net) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- libcheck-0.9.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libcheck/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 11 Jan 2009 04:26:17 -0000 1.9
+++ Makefile 2 Feb 2009 02:20:55 -0000
@@ -22,9 +22,7 @@
DOCSDIR= ${PREFIX}/share/doc/check-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/check-${PORTVERSION}
-.if !defined(NOPORTDOCS)
INFO= check
-.endif
post-patch:
.if defined(NOPORTDOCS)
@@ -36,7 +34,7 @@
@${REINPLACE_CMD} \
-e '/^install-data-am:/ s/ install-exampleDATA//' \
-e '/^install-data-am:/ s/ install-examplesrcDATA//' \
- -e '/install-exampletestsDATA/ s/ install-info-am//' \
+ -e '/install-exampletestsDATA/ s/install-exampletestsDATA//' \
${WRKSRC}/doc/Makefile.in
.endif
--- libcheck-0.9.6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list