summaryrefslogtreecommitdiffhomepage
path: root/vars/libcaca.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/libcaca.vars')
-rw-r--r--vars/libcaca.vars21
1 files changed, 21 insertions, 0 deletions
diff --git a/vars/libcaca.vars b/vars/libcaca.vars
new file mode 100644
index 00000000..b9d77ac4
--- /dev/null
+++ b/vars/libcaca.vars
@@ -0,0 +1,21 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_libcaca_configure_pre() {
+ find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub \
+ -exec echo mv -- {} {}.orig \; \
+ -exec mv -- {} {}.orig \; \
+ -exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \; \
+ -exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
+};
+
+pkg_toilet_configure_pre() {
+ find "${WORKDIR}/${PKG_SUBDIR}" -name config.sub \
+ -exec echo mv -- {} {}.orig \; \
+ -exec mv -- {} {}.orig \; \
+ -exec echo install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \; \
+ -exec install -m 0700 "${MIDIPIX_BUILD_PWD}/etc/config.sub" {} \;;
+};
+
+# vim:filetype=sh