diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-09 21:09:53 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-09 21:09:53 +0000 |
commit | 499e98584d4da3ad35616c6c74ce2c72a70a17cd (patch) | |
tree | 915ff8b14096048631f87ec93c422e7f2f685d77 /math/orpie/files | |
parent | 0f39a6456b8ad46546714eaade322e8abfabfccc (diff) | |
download | ports-499e98584d4da3ad35616c6c74ce2c72a70a17cd.tar.gz ports-499e98584d4da3ad35616c6c74ce2c72a70a17cd.zip |
Notes
Diffstat (limited to 'math/orpie/files')
-rw-r--r-- | math/orpie/files/patch-Makefile | 53 | ||||
-rw-r--r-- | math/orpie/files/patch-gsl::wrappers.h | 11 |
2 files changed, 64 insertions, 0 deletions
diff --git a/math/orpie/files/patch-Makefile b/math/orpie/files/patch-Makefile new file mode 100644 index 000000000000..57f88c5f5dd6 --- /dev/null +++ b/math/orpie/files/patch-Makefile @@ -0,0 +1,53 @@ +--- 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::wrappers.h b/math/orpie/files/patch-gsl::wrappers.h new file mode 100644 index 000000000000..3f3ee2322280 --- /dev/null +++ b/math/orpie/files/patch-gsl::wrappers.h @@ -0,0 +1,11 @@ +--- 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)] |