ports/70503: open-motif demos should not be installed by default

Jake Hamby jhamby at anobject.com
Mon Aug 16 01:00:42 UTC 2004


>Number:         70503
>Category:       ports
>Synopsis:       open-motif demos should not be installed by default
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 16 01:00:41 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jake Hamby
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Software Factory x
>Environment:
System: FreeBSD fuji 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sat Aug 14 19:00:56 PDT 2004 root at fuji:/usr/home/work/sys/FUJI i386
>Description:
The OpenMotif demo programs are almost useless, and since nobody is using Motif
for new product development anymore, it would probably be better not to build
or install them by default.  The few people who would ever be interested in
installing them could define WITH_OPENMOTIF_DEMOS instead(see patch).
>How-To-Repeat:
OpenMotif demos are installed in default x11-toolkits/open-motif port.
>Fix:

--- with_openmotif_demos.patch begins here ---
--- Makefile.orig	Sun Aug 15 14:34:28 2004
+++ Makefile	Sun Aug 15 17:47:21 2004
@@ -38,7 +38,7 @@
 .include <bsd.port.pre.mk>
 
 # User config option: Build and install Motif demos
-.if defined(WITHOUT_OPENMOTIF_DEMOS)
+.if !defined(WITH_OPENMOTIF_DEMOS)
 PLIST_SUB+=	MOTIF_DEMOS="@comment "
 .else
 MAKE_ENV+=	DEMOS="demos"
@@ -62,7 +62,7 @@
 		 s|file formats|5|'
 
 post-install:
-.if !defined(WITHOUT_OPENMOTIF_DEMOS)
+.if defined(WITH_OPENMOTIF_DEMOS)
 	${INSTALL_DATA} ${DEMOS_SRC}/Column/Column.ad \
 		${PREFIX}/lib/X11/app-defaults/Column
 	${INSTALL_DATA} ${DEMOS_SRC}/DropDown/DropDown.ad \
--- with_openmotif_demos.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list