Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2005 04:30:20 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80012: [FIX] Unbreak make package of x11-toolkits/open-motif with WITHOUT_OPENMOTIF_MANUALS defined 
Message-ID:  <20050416203020.32A5F1701C@sunpoet.net>
Resent-Message-ID: <200504162040.j3GKeJdx042980@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 16 20:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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