summaryrefslogtreecommitdiffstats
path: root/devel/bin86/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bin86/PRE_BUILD')
-rwxr-xr-xdevel/bin86/PRE_BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/bin86/PRE_BUILD b/devel/bin86/PRE_BUILD
new file mode 100755
index 0000000000..6303a19fcf
--- /dev/null
+++ b/devel/bin86/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]; then
+ patch -p0 -i "$SPELL_DIRECTORY"/"$SPELL"-"$VERSION"-amd64_build.patch
+fi