about summary refs log tree commit diff stats
path: root/tools/scripts/pkgmk-test.conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-02-04 00:46:40 +0000
committerSilvino Silva <silvino@bk.ru>2017-02-04 00:46:40 +0000
commit4208a8936840298b00e6930fb0501db27a5cde0f (patch)
tree662a5e7ce5569249b63c9f4925ba4f75b4c44575 /tools/scripts/pkgmk-test.conf
parent5509a84e0d1a2732a429120e0bd26b83e119481f (diff)
parenta671b0c01821d46d9f783393b887d7987ec10161 (diff)
downloaddoc-4208a8936840298b00e6930fb0501db27a5cde0f.tar.gz
Merge branch 'r-0.3.0' into develop
Diffstat (limited to 'tools/scripts/pkgmk-test.conf')
-rw-r--r--tools/scripts/pkgmk-test.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/scripts/pkgmk-test.conf b/tools/scripts/pkgmk-test.conf
new file mode 100644
index 0000000..2336685
--- /dev/null
+++ b/tools/scripts/pkgmk-test.conf
@@ -0,0 +1,38 @@
+#
+# /etc/pkgmk.conf: pkgmk(8) configuration
+#
+
+export CFLAGS="-O2 -march=x86-64"
+export CXXFLAGS="${CFLAGS}"
+
+export MAKEFLAGS="-j4"
+
+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
+
+ PKGMK_SOURCE_MIRRORS=(https://ports.c9.core/distfiles/)
+# PKGMK_SOURCE_DIR="$PWD"
+# PKGMK_PACKAGE_DIR="$PWD"
+# PKGMK_WORK_DIR="$PWD/work"
+# PKGMK_DOWNLOAD="no"
+# PKGMK_IGNORE_FOOTPRINT="no"
+# PKGMK_IGNORE_NEW="no"
+# PKGMK_NO_STRIP="no"
+# PKGMK_DOWNLOAD_PROG="wget"
+# PKGMK_WGET_OPTS=""
+# PKGMK_CURL_OPTS=""
+# PKGMK_COMPRESSION_MODE="gz"
+
+
n187'>187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262