Tag Archives: port

MLDonkey can’t compile: Tcl/Tk missing

Installing from packages:

ml_togl.c:12:17: error: tcl.h: No such file or directory
ml_togl.c:13:16: error: tk.h: No such file or directory

This happens because some dependencies aren’t in the requirements list:

portinstall tclX tcllib tk

The first two will handle the tcl.h dependency. The second will do tk.h. You should probably make sure tk is the same version as tcl.

Advertisements

urxvt (rxvt-unicode): port installation defaults

cd /usr/ports/x11/rxvt-unicode
sudo make -DWITHOUT_PERL -DWITHOUT_XIM -DWITHOUT_UNICODE3 -DWITHOUT_MENUBAR \
-DWITHOUT_RXVT_SCROLLBAR -DWITHOUT_NEXT_SCROLLBAR -DWITHOUT_XTERM_SCROLLBAR \
-DWITHOUT_PLAIN_SCROLLBAR -DWITH_HALF_SHADOW \
-DWITHOUT_LINESPACE -DWITHOUT_TERMINFO -DWITHOUT_AFTERIMAGE
sudo make install -DWITHOUT_PERL -DWITHOUT_XIM -DWITHOUT_UNICODE3 -DWITHOUT_MENUBAR \
-DWITHOUT_RXVT_SCROLLBAR -DWITHOUT_NEXT_SCROLLBAR -DWITHOUT_XTERM_SCROLLBAR \
-DWITHOUT_PLAIN_SCROLLBAR -DWITH_HALF_SHADOW \
-DWITHOUT_LINESPACE -DWITHOUT_TERMINFO -DWITHOUT_AFTERIMAGE

cvsup-without-gui

If you’re annoyed by the UI cvsup has like I do – the need to press buttons on start/exit – install the cvsup-without-gui port instead.

Side note: I think this latter needs to be renamed to cvsup, and cvsup to cvsup-with-gui. Not that it matters all that much now that FreeBSD’s to switch to SVN.

Remove a port and all its dependencies

pkg_deinstall -R

From man pkg_deinstall:

-R
--upward-recursive Deinstall all those packages required by the given
packages as well.

pkg_deinstall is a part of portupgrade.