f149 [Solved] devel/git always installs gitk - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old June 2nd, 2010, 12:39
hopla hopla is offline
Junior Member
 
Join Date: Nov 2008
Posts: 34
Thanks: 11
Thanked 3 Times in 2 Posts
Default devel/git always installs gitk

Hi,

Even though I do not check the GUI option in 'make config' and even though my /etc/make.conf has all these GUI and X related options:

Code:
NO_X=yes
NO_X11=yes
NO_GUI=yes
NO_XWINDOWS=yes
WITHOUT_X=yes
WITHOUT_X11=yes
WITHOUT_GUI=yes
WITH_X=no
WITH_X11=no
WITH_GUI=no
ENABLE_GUI=no
'make install' keeps building 'gitk' and thus installs tk85 and associated X libraries.

I'm installing on a headless server. I don't need gitk, nor do I want any X libs dragged in.

Is there a bug in the devel/git Makefile? Or am I forgetting something? For extra weirdness: http://www.freshports.org/devel/git/ doesn't speak of any dependencies on tk85...

Hopla
Reply With Quote
  #2  
Old June 2nd, 2010, 12:41
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

If you disable the GUI option in 'make config' does it still build gitk?
Reply With Quote
  #3  
Old June 2nd, 2010, 12:44
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,713
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Remove all those options and leave only WITHOUT_X11.

WITH_X11 isn't a variable. It's a knob. Just having it defined will mean the opposite of WITHOUT_X11.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
hopla (June 2nd, 2010)
  #4  
Old June 2nd, 2010, 14:01
hopla hopla is offline
Junior Member
 
Join Date: Nov 2008
Posts: 34
Thanks: 11
Thanked 3 Times in 2 Posts
Default

Code:
/usr/ports/devel/git # make all-depends-list
/usr/ports/lang/perl5.8
/usr/ports/lang/p5-Error
/usr/ports/ftp/curl
/usr/ports/lang/python26
/usr/ports/devel/gmake
/usr/ports/textproc/expat2
/usr/ports/converters/libiconv
/usr/ports/mail/p5-Net-SMTP-SSL
/usr/ports/security/ca_root_nss
/usr/ports/devel/gettext
/usr/ports/devel/libtool22
/usr/ports/security/p5-IO-Socket-SSL
/usr/ports/security/p5-Net-SSLeay
Sweet Thanks SirDice!

So WITHOUT_X11 in /etc/make.conf is really all I need to disable X11 building? Because I got all those other options from all kinds of different tutorials on the web...
Reply With Quote
  #5  
Old June 2nd, 2010, 14:04
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,838
Thanks: 30
Thanked 1,888 Times in 1,333 Posts
Default

'Tutorials on the web' are at the very bottom of the well of knowledge.

[/zen]
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #6  
Old June 2nd, 2010, 14:15
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,713
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Quote:
Originally Posted by hopla View Post
So WITHOUT_X11 in /etc/make.conf is really all I need to disable X11 building?
Yes.

Quote:
Because I got all those other options from all kinds of different tutorials on the web...
Some of them are old, some I've never seen before. WITHOUT_GUI may or may not be used by a port, I know some ports use it. But it's not a 'standard' knob. You can find the standard ones in /usr/ports/KNOBS.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following 3 Users Say Thank You to SirDice For This Useful Post:
dennylin93 (June 2nd, 2010), hopla (June 2nd, 2010), vrachil (June 3rd, 2010)
  #7  
Old June 2nd, 2010, 14:31
dennylin93 dennylin93 is offline
Member
 
Join Date: Dec 2008
Posts: 784
Thanks: 34
Thanked 103 Times in 71 Posts
Default

Thanks for the pointer. I've been using Ports for quite a while now, and I didn't know that the knobs are documentated there.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup a Git repository dennylin93 Howtos & FAQs (Moderated) 3 May 25th, 2012 20:05
[Solved] need some help with git graudeejs Off-Topic 4 March 19th, 2010 16:15
Where to get libjpeg-devel? fred6633 Installation and Maintenance of FreeBSD Ports or Packages 4 June 1st, 2009 11:40
Multiple installs murias Installation and Maintenance of FreeBSD Ports or Packages 3 February 4th, 2009 11:03
Using X.Org from git SaveTheRbtz X.Org 2 November 26th, 2008 23:51


All times are GMT +1. The time now is 06:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0