<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tequila Fish &#187; x11</title>
	<atom:link href="http://www.tequilafish.com/tag/x11/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tequilafish.com</link>
	<description>Ran-dumb ramblings of me...</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:30:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FreeBSD: HOWTO install vim from ports WITHOUT X-Windows.</title>
		<link>http://www.tequilafish.com/2005/08/12/freebsd-howto-install-vim-from-ports-without-x-windows/</link>
		<comments>http://www.tequilafish.com/2005/08/12/freebsd-howto-install-vim-from-ports-without-x-windows/#comments</comments>
		<pubDate>Fri, 12 Aug 2005 20:36:45 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[portupgrade]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[x-windows]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://www.tequilafish.com/2005/08/12/freebsd-howto-install-vim-from-ports-without-x-windows/</guid>
		<description><![CDATA[I'm normally a manually-compile-from-source type of guy, but I thought I'd give FreeBSD's ports system a try. Right away I ran into an annoyance, and something that underscores a constant battle: trading customizability for ease-of-use. Yes, ports makes installing things easier, but you lose a certain level of control and customizability. Installing vim from ports [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.tequilafish.com%2F2005%2F08%2F12%2Ffreebsd-howto-install-vim-from-ports-without-x-windows%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.tequilafish.com%2F2005%2F08%2F12%2Ffreebsd-howto-install-vim-from-ports-without-x-windows%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I'm normally a manually-compile-from-source type of guy, but I thought I'd give FreeBSD's ports system a try.  Right away I ran into an annoyance, and something that underscores a constant battle: trading customizability for ease-of-use.  Yes, ports makes installing things easier, but you lose a certain level of control and customizability.</p>
<p>Installing vim from ports seems easy enough, right?  Sure, if you want tons of bloat included!  A simple <tt>make; make install</tt> in <tt>/usr/ports/editors/vim</tt> started a flurry of downloads for things like X11toolkits, X11R6.8.2, etc, etc.. in other words, installing vim from ports was trying to also install X-Windows on my machine!!  This is a server, I do NOT need the bloat of X-Windows simply to run a frickin' text editor like vim.</p>
<p>So, after some research, I discovered that you can in fact control port installs with various arguments.  Here's how I installed vim:<br />
<code>cd /usr/ports/editors/vim<br />
make WITHOUT_X11=yes<br />
make WITHOUT_X11=yes install</code><br />
PRESTO, a nice, clean, bloat-free, non-X-Windows install of vim.  As a general tip, you can look inside the port's Makefile to see various arguments that you can pass in.</p>
<p>A caveat though, if you ever upgrade all your ports with <tt>portupgrade</tt>, all of your ports will upgrade with the default arguments.  So if I ran portupgrade and a new version of vim was available, it would install vim and all the X-Windows crap along with it.</p>
<p>Luckily, FreeBSD provides a way to automatically provide arguments to auto-upgrades via portupgrade:  Simply open up <tt>/usr/local/etc/pkgtools.conf</tt> and fill in the <tt>MAKE_ARGS</tt> tag like so:<br />
<code>MAKE_ARGS = {<br />
'editors/vim' => 'WITHOUT_X11=YES',<br />
}</code><br />
Now the next time you upgrade vim using portupgrade, the <tt>WITHOUT_X11</tt> argument will be automatically included, so you won't have to worry about all that extra X11 crap being included in your install.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tequilafish.com/2005/08/12/freebsd-howto-install-vim-from-ports-without-x-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

