February 13, 2007

Make It Your Way

I found out about a couple more great "targets" for a ports make. The "knobs" (like BATCH) and the "targets" (like config") are all listed in the file /usr/ports/Mk/bsd.port.mk. Today I found out about the 'config-recursive' and 'rmconfig-recursive' options. I'm going to remake all of kdebase3, as there's been lots of changes, especially to HAL, in the KDE stuff, so I'm first going to :

# portsnap update
# cd /usr/ports/x11/kdebase3
# make rmconfig-recursive
# make config-recursive
# make && make install && make clean

So first I make sure my ports tree is up to date (remember, I have a cron job which downloads the updates, but I need to run them by hand when it is time). The I change into the kdebase3 port folder, which is really a meta port for everything KDE3. Then I'll remove all the configuration files and then I'll go through and set all the possible options, most especially the option to enable HAL for KDE, as that's the way PC-BSD works. Kind of overkill for the beast that is KDE3, but at least I should have a solid base to build. Then I'll do the build and hope it just works. We'll see. I wonder how long it will take?


del.icio.us | Digg it | Furl | Yahoo MyWeb | Create Social Bookmark Links


Posted by jdarnold at 05:08 AM | TrackBack
Comments

There is a typo in your example in the line
# make config-recusrive
it should probably be
# make config-recursive
as outlined in the text above.
Thanks for the tip, I didn't know about it.

Posted by: Benedict Reuschling on February 14, 2007 06:55 AM

Thanks for the heads up - got it edited.

Posted by: Jonathan on February 14, 2007 08:21 AM

Post a comment

(Javascript required)

(Not published)

Comments: (you may use HTML tags for style)