Re: make show-options tuts nicht

From: Benjamin Thelen <bent(at)wheregroup.com>
Date: Tue, 12 Jun 2007 18:14:14 +0200

Hallo Peter,

Peter Wullinger wrote:
> In epistula a Benjamin Thelen, die horaque Mon, Jun 11, 2007 at 02:19:37PM +0200:
>> Moin,
>>
>> ich erinnere mich, daß "make show-options" die verschiedenen Schalter,
>> die zur Verfügung stehen anzeigen kann. Gut, ich kann auch ins Makefile
>> reingucken oder "portsopt" benutzen, aber warum tuts das "make
>> show-options" nicht?
>
> Weil's das Target in den Makefiles nicht gibt?

Ja, ja, hm, das sieht wohl so aus. :-)
  Ich wundere mich, weil ich mir sicher bin, daß ich über dieses ominöse
Target mal irgendwo im Netz gestolpert bin.

>
>> cd /usr/ports/databases/postgresql80-server/
>> root(at)quark# make showconfig
>> ===> The following configuration options are available for
>> postgresql-server-8.0.13_1:
>> .
>> .
>> .
>
> Was da übrigens steht sind gleich die aktiven Einstellungen.
> Was genau fehlt Dir bei dieser Ausgabe, was ein -- mir unbekanntes --
> show-options zusätzlich an Information ausgeben sollte?

Im Unterschied zum "make showconfig" zeigt portsopt laut pkg-descr alle
Schalter an ("Shows WITH(OUT)-knobs of a port makefile") und make
showconfig laut man-page nur die WITH_* Schalter ("list of what WITH_*
options this port accepts").

Allerdings kann ich das insofern nicht nachvollziehen, als das beim
"portsopt" Schalter angezeigt werden, die "make showconfig" gar nicht
anzeigt. Sehr schön am OOo-2 Beispiel ganz unten zu sehen. Beim php5
werden schon WITHOUT_* Schalter mit "make showconfig" angezeigt.

Am Beispiel von php5:

root(at)qwertzuiop# make showconfig
===> The following configuration options are available for php5-5.2.3:
      CLI=on "Build CLI version"
      CGI=on "Build CGI version"
      APACHE=on "Build Apache module"
      DEBUG=off "Enable debug"
      SUHOSIN=on (default) "Enable Suhosin protection system"
      MULTIBYTE=off "Enable zend multibyte support"
      IPV6=on "Enable ipv6 support"
      MAILHEAD=off (default) "Enable mail header patch"
      REDIRECT=off "Enable force-cgi-redirect support (CGI only)"
      DISCARD=off "Enable discard-path support (CGI only)"
      FASTCGI=on "Enable fastcgi support (CGI only)"
      PATHINFO=on "Enable path-info-check support (CGI only)"
===> Use 'make config' to modify these settings

/data/ports/lang/php5
===> The following configuration options are available for php5-5.2.3:
      CLI=on "Build CLI version"
      CGI=on "Build CGI version"
      APACHE=on "Build Apache module"
      DEBUG=off "Enable debug"
      SUHOSIN=on (default) "Enable Suhosin protection system"
      MULTIBYTE=off "Enable zend multibyte support"
      IPV6=on "Enable ipv6 support"
      MAILHEAD=off (default) "Enable mail header patch"
      REDIRECT=off "Enable force-cgi-redirect support (CGI only)"
      DISCARD=off "Enable discard-path support (CGI only)"
      FASTCGI=on "Enable fastcgi support (CGI only)"
      PATHINFO=on "Enable path-info-check support (CGI only)"
===> Use 'make config' to modify these settings
WITHOUT_CGI
WITHOUT_CLI
WITHOUT_FASTCGI
WITHOUT_IPV6
WITHOUT_PATHINFO
WITHOUT_SUHOSIN
WITH_APACHE
WITH_DEBUG
WITH_DISCARD
WITH_MAILHEAD
WITH_MULTIBYTE
WITH_REDIRECT
WITH_REGEX_TYPE
WITH_ZEND_VM
WITHOUT_CDB
WITHOUT_FLATFILE
WITHOUT_INIFILE
WITHOUT_REGEX
WITHOUT_SSL
WITHOUT_T1LIB
WITHOUT_TRUETYPE
WITHOUT_X11
WITH_DB4
WITH_DB4_VER?=44
WITH_GDBM
WITH_JIS
WITH_MSSQL
WITH_QDBM
WITH_SNMP4
WITH_UTF8

Und am Beispiel von Ooo-2:

root(at)qwertzuiop# cd /usr/ports/editors/openoffice.org-2
root(at)qwertzuiop# make showconfig
root(at)qwertzuiop# make config
===> No options to configure
root(at)qwertzuiop# portsopt
/data/ports/editors/openoffice.org-2
WITHOUT_CPU_CFLAGS=true
WITHOUT_MOZILLA
WITHOUT_MOZILLA=yes
WITH_CCACHE
WITH_CWS
WITH_GNUGCJ
WITH_GPC
WITH_KDE
WITH_SYSTEM_FREETYPE
WITH_TTF_BYTECODE_ENABLED

portsopt sollte dem ominösen Target "make showoptions" entsprechen.

Gruß,
Ben

>
> Gruß,
> Peter
>

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 12 Jun 2007 - 18:15:13 CEST

search this site