forked from pfsense/FreeBSD-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
science/dynare: fix build on non-amd64 64-bit architectures
The current Makefile checks only for amd64. Tested for no breakage on amd64.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- Makefile.am.orig 2021-10-07 22:16:41 UTC | ||
+++ Makefile.am | ||
@@ -28,7 +28,7 @@ EXTRA_DIST = \ | ||
.dir-locals.el | ||
|
||
all-local: preprocessor/src/dynare_m$(EXEEXT) | ||
- if file preprocessor/src/dynare_m$(EXEEXT) | grep -q x86.64; then \ | ||
+ if file preprocessor/src/dynare_m$(EXEEXT) | grep -q 64-bit; then \ | ||
ARCH="64"; \ | ||
else \ | ||
ARCH="32"; \ | ||
@@ -54,7 +54,7 @@ install-exec-local: | ||
cp -r matlab $(DESTDIR)$(pkglibdir) | ||
find $(DESTDIR)$(pkglibdir) -name LICENSE.md -delete | ||
rm -rf $(DESTDIR)$(pkglibdir)/matlab/preprocessor* | ||
- if file preprocessor/src/dynare_m | grep -q x86.64; then \ | ||
+ if file preprocessor/src/dynare_m | grep -q 64-bit; then \ | ||
ARCH="64"; \ | ||
else \ | ||
ARCH="32"; \ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- Makefile.in.orig 2021-10-07 22:16:41 UTC | ||
+++ Makefile.in | ||
@@ -28,7 +28,7 @@ EXTRA_DIST = \ | ||
.dir-locals.el | ||
|
||
all-local: preprocessor/src/dynare_m$(EXEEXT) | ||
- if file preprocessor/src/dynare_m$(EXEEXT) | grep -q x86.64; then \ | ||
+ if file preprocessor/src/dynare_m$(EXEEXT) | grep -q 64-bit; then \ | ||
ARCH="64"; \ | ||
else \ | ||
ARCH="32"; \ | ||
@@ -54,7 +54,7 @@ install-exec-local: | ||
cp -r matlab $(DESTDIR)$(pkglibdir) | ||
find $(DESTDIR)$(pkglibdir) -name LICENSE.md -delete | ||
rm -rf $(DESTDIR)$(pkglibdir)/matlab/preprocessor* | ||
- if file preprocessor/src/dynare_m | grep -q x86.64; then \ | ||
+ if file preprocessor/src/dynare_m | grep -q 64-bit; then \ | ||
ARCH="64"; \ | ||
else \ | ||
ARCH="32"; \ |