aboutsummaryrefslogtreecommitdiff
path: root/math/orpie
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-25 09:56:22 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-25 09:56:22 +0000
commit245e453c6c8e14300f34983ac6aee7c3a5793060 (patch)
tree4ff9901e287fa5fde8b87bba1a236757d29a58c2 /math/orpie
parent549d2783bb16f98c9985eda299ba87d2c5572e64 (diff)
downloadports-245e453c6c8e14300f34983ac6aee7c3a5793060.tar.gz
ports-245e453c6c8e14300f34983ac6aee7c3a5793060.zip
Notes
Diffstat (limited to 'math/orpie')
-rw-r--r--math/orpie/Makefile3
-rw-r--r--math/orpie/distinfo6
-rw-r--r--math/orpie/files/patch-Makefile53
-rw-r--r--math/orpie/files/patch-gsl::mlgsl_error.c12
-rw-r--r--math/orpie/files/patch-gsl::wrappers.h11
5 files changed, 16 insertions, 69 deletions
diff --git a/math/orpie/Makefile b/math/orpie/Makefile
index b22b0dc4eac5..2991a1ed3f82 100644
--- a/math/orpie/Makefile
+++ b/math/orpie/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= orpie
-PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTVERSION= 1.4.3
CATEGORIES+= math
MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/orpie/
diff --git a/math/orpie/distinfo b/math/orpie/distinfo
index f2666a472772..309dcfc4a94d 100644
--- a/math/orpie/distinfo
+++ b/math/orpie/distinfo
@@ -1,3 +1,3 @@
-MD5 (orpie-1.4.1.tar.gz) = 04a3d7d4afc5374d8bcc476b348e6561
-SHA256 (orpie-1.4.1.tar.gz) = c9e5e8dc37558627337cafb5bf8e3828482b2a6ad473588f6179befedca1fb67
-SIZE (orpie-1.4.1.tar.gz) = 373649
+MD5 (orpie-1.4.3.tar.gz) = 1c9d87cf3f8d982a9a3662d48e13de55
+SHA256 (orpie-1.4.3.tar.gz) = beb46341286a8b4c38ce21a2e93cbd9e32924c5d4bb5015baf2dbf756d6dafc3
+SIZE (orpie-1.4.3.tar.gz) = 356721
diff --git a/math/orpie/files/patch-Makefile b/math/orpie/files/patch-Makefile
deleted file mode 100644
index 57f88c5f5dd6..000000000000
--- a/math/orpie/files/patch-Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
---- Makefile.in.orig Thu Jul 22 11:33:41 2004
-+++ Makefile.in Thu Aug 5 11:49:03 2004
-@@ -41,8 +41,8 @@
- INCLUDES = -I ./curses -I ./gsl
- BFLAGS = -pp camlp4o -g $(INCLUDES) -thread
- OFLAGS = -pp camlp4o $(INCLUDES) -thread
--BLFLAGS = -custom -cclib '$(CURSES_LIB) $(GSL_LIB) -lm'
--OLFLAGS = -cclib '$(CURSES_LIB) $(GSL_LIB) -lm'
-+BLFLAGS = -custom -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
-+OLFLAGS = -cclib '@LDFLAGS@ $(CURSES_LIB) $(GSL_LIB) -lm'
- DEPFLAGS = -pp camlp4o
-
- # main target
-@@ -144,21 +144,21 @@
- mkdir -p $(DESTDIR)/$(prefix)/etc; \
- install -m 644 orpierc $(DESTDIR)/$(prefix)/etc; \
- fi
-- install -m 644 -D doc/orpie.1 $(MANDIR)/man1/orpie.1
-- install -m 644 -D doc/orpie-curses-keys.1 $(MANDIR)/man1/orpie-curses-keys.1
-- install -m 644 -D doc/orpierc.5 $(MANDIR)/man5/orpierc.5
-+ install -m 644 doc/orpie.1 $(MANDIR)/man1/orpie.1
-+ install -m 644 doc/orpie-curses-keys.1 $(MANDIR)/man1/orpie-curses-keys.1
-+ install -m 644 doc/orpierc.5 $(MANDIR)/man5/orpierc.5
-
- install: install-indep
-- install -m 755 -D $(NAME).$(OCAMLBEST) $(BINDIR)/$(NAME)$(EXE)
-- install -m 755 -D $(NAME2).$(OCAMLBEST) $(BINDIR)/$(NAME2)$(EXE)
-+ install -m 755 $(NAME).$(OCAMLBEST) $(BINDIR)/$(NAME)$(EXE)
-+ install -m 755 $(NAME2).$(OCAMLBEST) $(BINDIR)/$(NAME2)$(EXE)
-
- install-byte: install-indep
-- install -m 755 -D $(NAME).byte $(BINDIR)/$(NAME)$(EXE)
-- install -m 755 -D $(NAME2).byte $(BINDIR)/$(NAME2)$(EXE)
-+ install -m 755 $(NAME).byte $(BINDIR)/$(NAME)$(EXE)
-+ install -m 755 $(NAME2).byte $(BINDIR)/$(NAME2)$(EXE)
-
- install-opt: install-indep
-- install -m 755 -D $(NAME).opt $(BINDIR)/$(NAME)$(EXE)
-- install -m 755 -D $(NAME2).opt $(BINDIR)/$(NAME2)$(EXE)
-+ install -m 755 $(NAME).opt $(BINDIR)/$(NAME)$(EXE)
-+ install -m 755 $(NAME2).opt $(BINDIR)/$(NAME2)$(EXE)
-
- uninstall:
- rm -f $(BINDIR)/$(NAME)$(EXE)
-@@ -185,7 +185,7 @@
- GSL_INCLUDES = -I ./gsl
- GSL_BFLAGS = -g $(GSL_INCLUDES) -thread
- GSL_OFLAGS = $(GSL_INCLUDES) -thread
--GSL_CFLAGS = -Wall -fPIC -DPIC
-+GSL_CFLAGS = -Wall -fPIC -DPIC @CPPFLAGS@
-
- gsl/%.cmi : gsl/%.mli
- $(OCAMLC) -c $(GSL_BFLAGS) $<
diff --git a/math/orpie/files/patch-gsl::mlgsl_error.c b/math/orpie/files/patch-gsl::mlgsl_error.c
new file mode 100644
index 000000000000..df85226699f1
--- /dev/null
+++ b/math/orpie/files/patch-gsl::mlgsl_error.c
@@ -0,0 +1,12 @@
+--- gsl/mlgsl_error.c.orig Sat Oct 29 22:40:23 2005
++++ gsl/mlgsl_error.c Sun Sep 24 14:42:12 2006
+@@ -43,7 +43,8 @@
+ exn_arg = alloc_small(2, 0);
+ Store_field(exn_arg, 0, Val_int(conv_err_code(gsl_errno)));
+ Store_field(exn_arg, 1, copy_string(ml_gsl_exn_msg));
+- CAMLreturn(raise_with_arg(*ml_gsl_exn, exn_arg));
++ raise_with_arg(*ml_gsl_exn, exn_arg);
++ CAMLreturn0;
+ }
+
+ static void ml_gsl_error_handler(const char *reason, const char *file,
diff --git a/math/orpie/files/patch-gsl::wrappers.h b/math/orpie/files/patch-gsl::wrappers.h
deleted file mode 100644
index 3f3ee2322280..000000000000
--- a/math/orpie/files/patch-gsl::wrappers.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gsl/wrappers.h.orig Thu Jul 22 11:33:38 2004
-+++ gsl/wrappers.h Thu Aug 5 11:10:31 2004
-@@ -70,7 +70,7 @@
- #define CONCAT3(a,b,c) CONCAT3x(a,b,c)
-
- #ifndef DONT_USE_ALLOCA
--#include <malloc.h>
-+#include <stdlib.h>
- #define LOCALARRAY(type, x, len) type * x = ( type *) alloca(sizeof( type ) * (len))
- #else
- #define LOCALARRAY(type, x, len) type x [(len)]