On 2009/07/21 05:36, patrick keshishian wrote:
> On Tue, Jul 21, 2009 at 4:50 AM, Siju George<[email protected]> wrote:
> > On Tue, Jul 21, 2009 at 2:41 PM, patrick keshishian<[email protected]> 
> > wrote:
> >> could also use ftp's -E flag flag in your /etc/mk.conf file:
> >>
> >> $ grep FETCH_CMD /etc/mk.conf
> >> FETCH_CMD=/usr/bin/ftp -V -m -k 0 -E
> >>
> >> $ man ftp
> >> /EPRT
> >>     -E      Disables EPSV/EPRT command on IPv4 connections.
> >>
> >
> > I didnt have a /etc/mk.conf file.
> > So I created one with the line above.
> > Is that ok?
> 
> Yes. You can put other make related variables there that you use often
> so you don't have to keep typing when building ports. e.g.,
> CLEANDEPENDS=Yes

it's also a good place to put preferred MASTER_SITE mirrors, amongst
other things.. here's one of mine.

USE_SYSTRACE=yes
ACCEPT_JRL_LICENSE=Yes
SUDO=sudo -E
PLIST_DB=/usr/ports/plist/${MACHINE_ARCH}
WRKOBJDIR=/usr/obj/ports
XOBJDIR=/usr/obj/xenocara
BULK?=
.if ${BULK:L:Myes}
REPORT_PROBLEM=/home/sthen/bin/report-prob "$$subdir ($@)"
.else
CHECK_LIB_DEPENDS=yes
USE_SYSTRACE=yes
.endif
MASTER_SITE_SOURCEFORGE=      \
        http://kent.dl.sourceforge.net/sourceforge/ \
        http://heanet.dl.sourceforge.net/sourceforge/ \
        http://switch.dl.sourceforge.net/sourceforge/ \
        http://easynews.dl.sourceforge.net/sourceforge/

Reply via email to