From sunpoet@sunpoet.net  Sat Apr 16 20:30:20 2005
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C288216A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Apr 2005 20:30:20 +0000 (GMT)
Received: from sunpoet.net (sunpoet.net [203.204.205.212])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD8843D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Apr 2005 20:30:20 +0000 (GMT)
	(envelope-from sunpoet@sunpoet.net)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 32A5F1701C; Sun, 17 Apr 2005 04:30:20 +0800 (CST)
Message-Id: <20050416203020.32A5F1701C@sunpoet.net>
Date: Sun, 17 Apr 2005 04:30:20 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Reply-To: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [FIX] Unbreak make package of x11-toolkits/open-motif with WITHOUT_OPENMOTIF_MANUALS defined 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80012
>Category:       ports
>Synopsis:       [FIX] Unbreak make package of x11-toolkits/open-motif with WITHOUT_OPENMOTIF_MANUALS defined
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 16 20:40:19 GMT 2005
>Closed-Date:    Wed Jun 01 16:02:37 GMT 2005
>Last-Modified:  Wed Jun 01 16:02:37 GMT 2005
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Mar 16 23:08:44 CST 2005 root@IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386

	
>Description:
Unbreak make package of x11-toolkits/open-motif port with WITHOUT_OPENMOTIF_MANUALS defined.
Those manual files listed in pkg-plist will not be installed while WITHOUT_OPENMOTIF_MANUALS is defined.
Those files should be excluded.

	
>How-To-Repeat:
% cd /usr/ports/x11-toolkits/open-motif
% make WITHOUT_OPENMOTIF_MANUALS=YES package

	
>Fix:

% diff -u /usr/ports/x11-toolkits/open-motif/Makefile.orig /usr/ports/x11-toolkits/open-motif/Makefile
--- /usr/ports/x11-toolkits/open-motif/Makefile.orig	Sat Mar 12 17:47:15 2005
+++ /usr/ports/x11-toolkits/open-motif/Makefile	Sat Apr 16 15:54:07 2005
@@ -67,6 +67,8 @@
 # User config option: Build and install Motif manuals
 .if !defined(WITHOUT_OPENMOTIF_MANUALS)
 .include "${.CURDIR}/Makefile.man"
+.else
+PLIST_SUB+=	DOCSDIR="@comment "
 .endif
 
 post-patch:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->steve 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 17 19:13:26 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80012 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Wed Jun 1 16:02:29 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80012 
>Unformatted:
