The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Remembering options for upgrading ports
Author: Seamus Venasse 
Date:   06-05-02 05:13

I like to keep the ports installed on my server updated to the latest and greatest version that the ports tree has to offer. Using the awesome portupgrade utility found under sysutils/portupgrade, the task of upgrading individual or many ports at once is a breeze.

A problem I have frequently encountered is remembering which options I have selected for a port during the build time. For example, I configured textproc/libxml2 as:

> make WITHOUT_PYTHON=yes all install clean

When it came to upgrading the port however, I completely forgot about the WITHOUT_PYTHON option and installed Python along with my upgrade.

To ensure that I don't forget the options which I have used previously, I simply append the options into my /etc/make.conf file. So for this example, I appended the following lines:

# required for textproc/libxml2

I hope this tip helps someone else, like it has me!


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Remembering options for upgrading ports   new
Seamus Venasse 06-05-02 05:13 
 Re: Remembering options for upgrading ports   new
parv 06-05-02 22:08 
 Re: Remembering options for upgrading ports   new
Dan Langille 07-05-02 05:37 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum