alternative options for ports

Oliver Lehmann lehmann at ans-netz.de
Sat Oct 16 06:27:55 PDT 2004


Sebastian Schulze Struchtrup wrote:

> I would like to poll if there is any need for an extension to the 
> current menu-driven config frontend.

I made a patch so you can set WITHOUT_OPTIONS or
WITHOUT_${PORTNAME}_OPTIONS to supress the dialog menu.
But nothing happend :(



Begin forwarded message:

Date: Fri, 27 Aug 2004 21:55:32 +0200
From: Oliver Lehmann <oliver at FreeBSD.org>
To: obrien at FreeBSD.org
Cc: portmgr at FreeBSD.org, ports-committers at FreeBSD.org,
cvs-ports at FreeBSD.org, cvs-all at FreeBSD.org
Subject: Re: cvs commit: ports/devel/gettext Makefile


David O'Brien wrote:

> WITH(OUT)_${PORTNAME}_OPTIONS also?  I think it wouldn't be too much
> work to extend it to this also.

Do you mean something like:


root at kartoffel mozilla-devel> make -DWITHOUT_mozilla_OPTIONS

You may use the following build options:

WITH_XFT=yes              Enable: Enable Xft font anti-aliasing
WITHOUT_CALENDAR=yes      Disable: Enable the Calendar module
WITH_MAILNEWS=yes         Enable: Enable Mail and News modules
WITH_COMPOSER=yes         Enable: Enable the HTML Composer module
WITHOUT_DEBUG=yes         Disable: Enable debugging (i.e. gdb) suppor
WITH_LDAP=yes             Enable: Enable LDAP support for Mailnews
WITH_CHATZILLA=yes        Enable: Enable the Chatzilla IRC module
WITH_XMLTERM=yes          Enable: Enable the XMLTerm module
WITHOUT_JAVASCRIPT_DEBUGGER=yes Disable: Enable the DTD and JavaScript
debuggers
WITHOUT_OPTIMIZED_CFLAGS=yes Disable: Enable -O2 optimizations
WITHOUT_SMB=yes           Disable: Enable smb:// URI support using
gnomevfs

If so... patch is attached (it will also remove the unneded spaces at the
end of each line)

If I missunderstood what you was thinking of - let me know...

Next thing could be to strip out Enable/Disable at the beginning of the
description (sth. like ${SED} -E 's|^([Ee]n\|[Dd]is)able ||g'). But just a
cosmetic change. Would be nice to just see it working first...

  Greetings
-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-bsd.port.mk
Type: application/octet-stream
Size: 2073 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041016/227b332d/patch-bsd.port.obj


More information about the freebsd-ports mailing list