A
Anonymous
Guest
Hi guys,
I'm slowly learning how to switch from GNU/Linux to FreeBSD. For now, I'm only trying it in the WM. I think it's a good start. I plan to modify some ports for my personal needs.
Anyway, I would like to have some help about modifying ports options (especially
Should I remove all unneeded lines in the Makefile, or it's better to create a patch which will modify it? Actually, I don't really need all options required by dialog, can I remove similar lines?
I want to use only the first CONFIGURE_ARGS= (as OpenBSD ports for example). Any ideas?
I'm slowly learning how to switch from GNU/Linux to FreeBSD. For now, I'm only trying it in the WM. I think it's a good start. I plan to modify some ports for my personal needs.
Anyway, I would like to have some help about modifying ports options (especially
./configure
). Assuming, I want to "customize" x11/rxvt-unicode, with the following options:
Code:
./configure \
--prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--enable-256-color \
--enable-combining \
--enable-fading \
--enable-font-styles \
--enable-iso14755 \
--enable-keepscrolling \
--enable-lastlog \
--enable-mousewheel \
--enable-next-scroll \
--enable-perl \
--enable-pointer-blank \
--enable-rxvt-scroll \
--enable-selectionscrolling \
--enable-slipwheeling \
--enable-smart-resize \
--enable-unicode3 \
--enable-utmp \
--enable-wtmp \
--enable-xim \
--enable-xterm-scroll \
--disable-frills \
--disable-pixbuf \
--disable-startup-notification \
--disable-transparency \
--disable-xft
Code:
.if !${PORT_OPTIONS:MSMART_RESIZE}
CONFIGURE_ARGS+= --disable-smart-resize
.else
CONFIGURE_ARGS+= --enable-smart-resize
.endif