diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-12-22 16:22:28 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-12-22 16:22:28 +0000 |
commit | 3f80fdea42527c395d6bc87286b866c83eebe874 (patch) | |
tree | e9f8cc238027fcf93c3338cf77f61f09531e928f /math/algae/files/patch-src-Makefile.in | |
parent | Revert r337193, groff needs perl, makes a loop, is bad. (diff) |
- USES=fortran (eliminate FORTRANLIBS, LDFLAGS and pre-configure).
- Remove some patches and post-patch.
- Remove USE_AUTOTOOLS=autoconf and patch configure script directly.
- Replace BROKEN with BROKEN_${ARCH}.
- Staging (add DESTDIR support to the makefiles).
- Make sure the port uses its own arpack, blas, lapack and superlu.
Diffstat (limited to 'math/algae/files/patch-src-Makefile.in')
-rw-r--r-- | math/algae/files/patch-src-Makefile.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/math/algae/files/patch-src-Makefile.in b/math/algae/files/patch-src-Makefile.in new file mode 100644 index 000000000000..5415a9c344d9 --- /dev/null +++ b/math/algae/files/patch-src-Makefile.in @@ -0,0 +1,24 @@ +--- src/Makefile.in.orig ++++ src/Makefile.in +@@ -48,7 +48,7 @@ + + # Libraries. + +-LIBS = -L../arpack -larpack -L../superlu -lsuperlu @LOCAL_LIBS@ @LIBS@ ++LIBS = ../arpack/libarpack.a ../superlu/libsuperlu.a @LOCAL_LIBS@ @LIBS@ + + # Source files. + +@@ -218,9 +218,9 @@ + # ========================== Installation ========================== + + install: all +- $(INSTALL_PROGRAM) algae $(bindir)/algae-$(VERSION_NUMBER) +- rm -f $(bindir)/algae +- ln -s $(bindir)/algae-$(VERSION_NUMBER) $(bindir)/algae ++ $(INSTALL_PROGRAM) algae $(DESTDIR)$(bindir)/algae-$(VERSION_NUMBER) ++ rm -f $(DESTDIR)$(bindir)/algae ++ ln -s algae-$(VERSION_NUMBER) $(DESTDIR)$(bindir)/algae + .PHONY: install + + uninstall: |