ports/143588: lang/expect does not have an option to disable X11 libraries
James Wagner
jwagner at graffadmin.com
Fri Feb 5 22:20:02 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list