2010-06-26 16:01:42 +02:00
|
|
|
#
|
|
|
|
# /etc/pkgmk.conf: pkgmk(8) configuration
|
|
|
|
#
|
|
|
|
|
2012-12-10 17:11:09 -06:00
|
|
|
export CFLAGS="-O2 -march=x86-64 -pipe"
|
2011-11-14 13:10:30 -06:00
|
|
|
export CXXFLAGS="${CFLAGS}"
|
|
|
|
|
2018-04-14 12:01:15 -05:00
|
|
|
export JOBS=$(nproc)
|
|
|
|
export MAKEFLAGS="-j${JOBS} -l${JOBS}"
|
2012-12-10 17:11:09 -06:00
|
|
|
|
|
|
|
case ${PKGMK_ARCH} in
|
2014-01-11 15:42:24 -06:00
|
|
|
"64"|"")
|
2012-12-10 17:11:09 -06:00
|
|
|
;;
|
|
|
|
"32")
|
|
|
|
export CFLAGS="${CFLAGS} -m32"
|
|
|
|
export CXXFLAGS="${CXXFLAGS} -m32"
|
|
|
|
export LDFLAGS="${LDFLAGS} -m32"
|
|
|
|
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Unknown architecture selected! Exiting."
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
2010-06-26 16:01:42 +02:00
|
|
|
|
2012-08-05 09:23:04 -05:00
|
|
|
# PKGMK_SOURCE_MIRRORS=()
|
2012-12-10 17:11:09 -06:00
|
|
|
# PKGMK_SOURCE_DIR="/usr/ports/sources"
|
|
|
|
# PKGMK_PACKAGE_DIR="/usr/ports/packages"
|
|
|
|
# PKGMK_WORK_DIR="/usr/ports/work/$name"
|
2010-06-26 16:01:42 +02:00
|
|
|
# PKGMK_DOWNLOAD="no"
|
|
|
|
# PKGMK_IGNORE_FOOTPRINT="no"
|
|
|
|
# PKGMK_IGNORE_NEW="no"
|
|
|
|
# PKGMK_NO_STRIP="no"
|
|
|
|
# PKGMK_WGET_OPTS=""
|
|
|
|
PKGMK_COMPRESSION_MODE="xz"
|
|
|
|
|
|
|
|
# End of file
|