| Summary: | [PATCH] ports-mgmt/portconf: new feature "Undefine variables" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Yi-Jheng Lin <yzlin> | ||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | ale | ||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool) 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
Log:
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
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed A different patch has been committed. |
Add a new feature "Undefine variables", which could undefine a variable by adding a symbol '!' before variables. The following is an example. ports.conf: *: 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