DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th October 2008
Treppiede Treppiede is offline
New User
 
Join Date: Oct 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default Change compile options for a determined port

Guys,
Sorry for the silly question, but when I compile something from ports and change my mind on one option,
I usually ctrl+C it, edit "/var/db/ports/port-name/options" and continue.

I can't find a similar file for the aterm port. Do you know where are compile options stored for the aterm port so that I may make some changes?
There's an option which I didn't pay attention to that is causing firefox2 to be compiled, but I don't want it.

Please let me know your thoughts, thanks in advance!

-Walter

PS=Does anyone know what happened to bsdforums.org ?
Reply With Quote
  #2   (View Single Post)  
Old 5th October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

try 'make config'
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 5th October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Quote:
Originally Posted by Treppiede View Post
Sorry for the silly question, but when I compile something from ports and change my mind on one option,
I usually ctrl+C it, edit "/var/db/ports/port-name/options" and continue.
For ports that use the OPTIONS framework (ones that would create such a file you mentioned and have the blue screen) do not edit those files manually. Simply run:
# make config
Then select the options you want and they will be saved.

Quote:
Originally Posted by Treppiede View Post
I can't find a similar file for the aterm port. Do you know where are compile options stored for the aterm port so that I may make some changes?
It doesn't look like the aterm port uses the OPTIONS framework, so you will have to supply build options yourself. Look through the Makefile and supply the options in the make command. E.g.:
# make WITH_MENUBAR=yes install clean

Quote:
Originally Posted by Treppiede View Post
PS=Does anyone know what happened to bsdforums.org ?
In short, bsdforums fell victim to massive spamming due to an inattentive administrator and has been abandoned by all of the regular members. This forum was formed as its replacement and is where most bsdforums regulars have migrated.
Reply With Quote
  #4   (View Single Post)  
Old 5th October 2008
Treppiede Treppiede is offline
New User
 
Join Date: Oct 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default

Guys, thanks for your help.
It is sad to find out about bsdforums.org, but I am glad to have found your Community again.

BSDKaffee: Even though it appears aterm does not use the "OPTIONS framerwork", I did get a blue config screen and selected an option that caused the fetching of firefox2.

Unfortunately, I was doing a lot of things at the same time and did not pay the necessary attention, so I don't even remember what it was.
I looked through the Makefile and couldn't "grep -i" for anything like "firefox" or "mozilla", so I am unsure on the right option to specify.

Here's a log of the output of the port being installed before I ctrl+C it due to ffox2 fetching, does it help?

Thank you in advance for your attention, please let me know your thoughts.

-Walter

EDIT: Ok, fixed! This took care of it, thanks again for your suggestion BSDKaffee!
Code:
# make WITHOUT_BACKGROUND_IMAGE=yes install clean

Last edited by Treppiede; 5th October 2008 at 05:47 AM.
Reply With Quote
  #5   (View Single Post)  
Old 5th October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

You got a blue screen for graphics/librsvg2 and must have selected to build the MOZILLA_PLUGIN. That is why it started to pull in Firefox. It has nothing to do with aterm directly.

graphics/librsvg2 is a dependency of graphics/libafterimage which is required by aterm if WITH_BACKGROUND_IMAGE is defined (default).

I honestly don't know what that knob does since I don't use aterm, but if you would still like to use it but just don't want Firefox, then just reconfigure librsvg2 to not build the mozilla plugin:
# cd /usr/ports/graphics/librsvg2 && make config
It will give you the blue screen again and just uncheck the box.
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 get port's building options? Sunsawe FreeBSD Ports and Packages 14 9th May 2009 06:35 PM
portupgrade -af, how to submit fetch options? bsdfan FreeBSD Ports and Packages 4 28th December 2008 09:05 PM
Firefox 3 port wont compile : libsoftokn3.so problems padmanabh FreeBSD Ports and Packages 3 8th October 2008 07:13 AM
Change Makefile options in ports shep FreeBSD Ports and Packages 5 18th August 2008 07:58 AM
Buildworld make.conf options siffland FreeBSD Installation and Upgrading 4 12th May 2008 12:02 AM


All times are GMT. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick