.include "/etc/make.conf.local" # Check your build tool ALWAYS_CHECK_MAKE=yes .if !empty(.CURDIR:M/usr/src*) # Use host specific custom kernel, but hide this fact from ports KERNCONF!=/bin/hostname -s | /usr/bin/sed -e \ 'y|abcdefghijklmnopqrstuvwxyz|ABCDEFGHIJKLMNOPQRSTUVWXYZ|' .endif # If port uses make jobs, specify how many MAKE_JOBS_NUMBER=2 # Unless we know we cannot, always try to make things with multiple threads .if !defined(MAKE_JOBS_UNSAFE) FORCE_MAKE_JOBS=yes .endif # Everything gets deugging symbols CFLAGS+=-g CXXFLAGS+=-g STRIP= # Blank on purpose STRIP_CMD=/usr/bin/true # This works better # Despite the above magic, if we set WITHOUT_DEBUG, we still sometimes get # stripped. We only really want the debugging symbols, but WITH_DEBUG often # changes how ports actually work, by adding special debugging features. These # often cause noticable performance degredation or litter ${HOME} with logs. # There is no real way to do what we want here, so we have to choose: # "When you choose the lesser of two evils, # always remember that it is still an evil." # -- Max Lerner #WITHOUT_DEBUG=yes # Ports defines, not including KNOBS, included here for use outside /usr/ports .if !defined(NO_BATCH) BATCH=yes .endif DISABLE_VULNERABILITIES=yes WITH_OPTIONS=yes # Relocate the DBDIRs for ports. # Don't forget to symlink /var/db/pkg #PKG_DBDIR=/usr/local/pkgdb # Seperate distfiles from ports #DISTDIR=/var/distfiles # We don't use packages, only build them for testing purposes #PACKAGES=/var/tmp/packages # Allow updating ports via `make update` SUP_UPDATE=yes PORTSSUPFILE=/etc/ports.sup # Only include our ports config if we are not working on portage .if (!empty(.CURDIR:M/usr/ports/*) || defined(PORTSCONF)) && \ !defined(NO_PORTSCONF) .include "/etc/ports.conf" .endif # Perl line goes here: # added by use.perl 2011-06-14 14:00:16 PERL_VERSION=5.14.0