aboutsummaryrefslogtreecommitdiff
path: root/lang/yap-devel
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-06 02:57:51 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-06 02:57:51 +0000
commit11a4138fca9d43539d552da1e7b3ab62c2ea6f31 (patch)
tree449172d30cb5d67b71008d0cbc10a447f7ef936d /lang/yap-devel
parent91bad4a93ba328faa51a8aee235d3d9e686879e8 (diff)
downloadports-11a4138fca9d43539d552da1e7b3ab62c2ea6f31.tar.gz
ports-11a4138fca9d43539d552da1e7b3ab62c2ea6f31.zip
Notes
Diffstat (limited to 'lang/yap-devel')
-rw-r--r--lang/yap-devel/Makefile3
-rw-r--r--lang/yap-devel/files/patch-H__TermExt.h14
-rw-r--r--lang/yap-devel/files/patch-H__amiops.h21
3 files changed, 37 insertions, 1 deletions
diff --git a/lang/yap-devel/Makefile b/lang/yap-devel/Makefile
index 17bec12b867a..947194d61b7d 100644
--- a/lang/yap-devel/Makefile
+++ b/lang/yap-devel/Makefile
@@ -29,7 +29,8 @@ STRIP= #none
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-max-performance
+CONFIGURE_ARGS+= --enable-max-performance \
+ --disable-clpbn-bp
USES= gmake
USE_GCC= any
diff --git a/lang/yap-devel/files/patch-H__TermExt.h b/lang/yap-devel/files/patch-H__TermExt.h
new file mode 100644
index 000000000000..f59a6ff9879e
--- /dev/null
+++ b/lang/yap-devel/files/patch-H__TermExt.h
@@ -0,0 +1,14 @@
+--- ./H/TermExt.h.orig 2012-06-30 16:53:59.000000000 -0300
++++ ./H/TermExt.h 2013-08-13 18:37:02.000000000 -0300
+@@ -217,7 +217,11 @@
+
+ #if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT
+
++#ifdef __amd64__
+ INLINE_ONLY inline EXTERN void AlignGlobalForDouble( USES_REGS1 );
++#else
++inline EXTERN void AlignGlobalForDouble( USES_REGS1 );
++#endif
+
+ #define DOUBLE_ALIGNED(ADDR) ((CELL)(ADDR) & 0x4)
+
diff --git a/lang/yap-devel/files/patch-H__amiops.h b/lang/yap-devel/files/patch-H__amiops.h
new file mode 100644
index 000000000000..5b7dedb5153f
--- /dev/null
+++ b/lang/yap-devel/files/patch-H__amiops.h
@@ -0,0 +1,21 @@
+--- ./H/amiops.h.orig 2012-06-30 16:53:59.000000000 -0300
++++ ./H/amiops.h 2013-08-13 18:37:02.000000000 -0300
+@@ -102,10 +102,18 @@
+
+ #if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT
+
++#ifdef __amd64__
+ INLINE_ONLY EXTERN inline void
++#else
++EXTERN inline void
++#endif
+ AlignGlobalForDouble( USES_REGS1 );
+
++#ifdef __amd64__
+ INLINE_ONLY EXTERN inline void
++#else
++EXTERN inline void
++#endif
+ AlignGlobalForDouble( USES_REGS1 )
+ {
+ /* Force Alignment for floats. Note that garbage collector may