ports/80012: [FIX] Unbreak make package of x11-toolkits/open-motif with WITHOUT_OPENMOTIF_MANUALS defined

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Sat Apr 16 20:40:20 UTC 2005


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



More information about the freebsd-ports-bugs mailing list