Bug 125273 - [PATCH] ports-mgmt/portconf: new feature "Undefine variables"
Summary: [PATCH] ports-mgmt/portconf: new feature "Undefine variables"
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: Alex Dupre
Depends on:
Reported: 2008-07-04 21:20 UTC by Yi-Jheng Lin
Modified: 2008-07-11 11:50 UTC (History)
1 user (show)

See Also:

portconf-1.4.patch (1.76 KB, patch)
2008-07-04 21:20 UTC, Yi-Jheng Lin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yi-Jheng Lin 2008-07-04 21:20:04 UTC
Add a new feature "Undefine variables", which could undefine a variable by adding a symbol '!' before variables. The following is an example.
    *: WITHOUT_X11=yes
    graphics/cairo: !WITHOUT_X11

In this setting, every port will install with WITHOUT_X11. But, when we install graphics/cairo, WITHOUT_X11 will be undefined.
This could solve the problem when compiling x11-toolkits/gtk20 (via textproc/wv) with graphics/cairo installed with WITHOUT_X11.
We'll get the error message:
    gdkdrawable-x11.c:32:24: cairo-xlib.h: No such file or directory

This feature is useful when we want to define a variable for most ports but not every.

Port maintainer (ale@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer 2008-07-04 21:20:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-07-11 11:48:49 UTC
ale         2008-07-11 10:48:35 UTC

  FreeBSD ports repository

  Modified files:
    ports-mgmt/portconf  Makefile 
    ports-mgmt/portconf/files pkg-message.in portconf.sh.in 
  New feature: undefine variables.
  PR:             ports/125273
  Submitted by:   Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
  Revision  Changes    Path
  1.6       +1 -1      ports/ports-mgmt/portconf/Makefile
  1.6       +4 -2      ports/ports-mgmt/portconf/files/pkg-message.in
  1.4       +2 -2      ports/ports-mgmt/portconf/files/portconf.sh.in
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer 2008-07-11 11:48:52 UTC
State Changed
From-To: open->closed

A different patch has been committed.