Created
January 26, 2013 02:17
-
-
Save anonymous/4639684 to your computer and use it in GitHub Desktop.
pkgmk.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# /etc/pkgmk.conf: pkgmk(8) configuration | |
# | |
renice -n 19 $$ | |
export CFLAGS="-march=native -O2 -pipe" | |
export CXXFLAGS="${CFLAGS}" | |
export MAKEFLAGS="-j 10" | |
#PKGMK_SOURCE_MIRRORS=(ftp://ftp.sunet.se/pub/Linux/distributions/gentoo/distfiles/) | |
PKGMK_SOURCE_DIR="/usr/ports/src" | |
PKGMK_PACKAGE_DIR="/usr/ports/pkg" | |
PKGMK_WORK_DIR="/usr/ports/work/$name-$version-$release-work" | |
PKGMK_DOWNLOAD="yes" | |
#PKGMK_IGNORE_FOOTPRINT="yes" | |
PKGMK_IGNORE_NEW="yes" | |
#PKGMK_NO_STRIP="no" | |
#PKGMK_WGET_OPTS="-T 30 --no-check-certificate" | |
PKGMK_COMPRESSION_MODE="xz" | |
case ${PKGMK_ARCH} in | |
"64") | |
;; | |
"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 | |
# End of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment