Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2010 22:13:49 GMT
From:      James Wagner <jwagner@graffadmin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143588: lang/expect does not have an option to disable X11 libraries
Message-ID:  <201002052213.o15MDnAj001249@www.freebsd.org>
Resent-Message-ID: <201002052220.o15MK1XU098937@freefall.freebsd.org>

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

>Number:         143588
>Category:       ports
>Synopsis:       lang/expect does not have an option to disable X11 libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 05 22:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     James Wagner
>Release:        8.0
>Organization:
>Environment:
FreeBSD bcserver 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The lang/expect port does not include an option for the user to easily disable building the port without including X11 libraries.  It did support the WITHOUT_X11 flag, but it had to be set manually in the environment.  I fixed this so that the normal configuration screen will pop up with a check box to enable/disable X11 support.
>How-To-Repeat:
'make all-depends-list' in /usr/ports/lang/expect displays many X11 dependencies that are not needed if not using X on the box.  With the submitted patch, you may uncheck the box for X11 and the same command will not indicate any of these X libraries and instead only want lang/tcl84.
>Fix:
run 'patch Makefile expectdiff.txt' in /usr/ports/lang/expect after saving the attached patch there to enable the option.

Patch attached with submission follows:

17a18,21
> OPTIONS= X11 "Enable X11 Support" on
>
> .include <bsd.port.options.mk>
>


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



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