Bug 143588 - lang/expect does not have an option to disable X11 libraries
Summary: lang/expect does not have an option to disable X11 libraries
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 22:20 UTC by Jim
Modified: 2010-02-12 10:40 UTC (History)
0 users

See Also:


Attachments
file.txt (84 bytes, text/plain)
2010-02-05 22:20 UTC, Jim
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim 2010-02-05 22:20:01 UTC
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.

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:
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.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2010-02-12 10:32:32 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-02-12 10:37:30 UTC
pav         2010-02-12 10:37:21 UTC

  FreeBSD ports repository

  Modified files:
    lang/expect          Makefile 
  Log:
  - Optionalize
  
  PR:             ports/143588
  Submitted by:   James Wagner <jwagner@graffadmin.com>
  
  Revision  Changes    Path
  1.77      +10 -6     ports/lang/expect/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"