Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 17:57:45 -0700 (PDT)
From:      Jake Hamby <jhamby@anobject.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70503: open-motif demos should not be installed by default
Message-ID:  <200408160057.i7G0vjeZ021889@localhost.my.domain>
Resent-Message-ID: <200408160100.i7G10gol048198@freefall.freebsd.org>

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

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



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