Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2009 10:22:55 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sunpoet@sunpoet.net
Subject:   ports/131271: [PATCH] devel/libcheck: fix plist when NOPORTEXAMPLES=1
Message-ID:  <200902020222.n122MtAT023002@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200902020230.n122U0s2047980@freefall.freebsd.org>

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

>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@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:



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