aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2012-07-05 20:31:32 +0300
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2012-07-05 20:31:32 +0300
commit6ee4d8e07bde5a98db3f15c5a891fe10675519f8 (patch)
treee9afd647fac7b9d9c1a080f6b114bc8ad1ae7be6 /sci-physics/LoopTools/files
parentMask live ebuilds from sci-astronomy (diff)
downloadsci-6ee4d8e07bde5a98db3f15c5a891fe10675519f8.tar.gz
sci-6ee4d8e07bde5a98db3f15c5a891fe10675519f8.tar.bz2
sci-6ee4d8e07bde5a98db3f15c5a891fe10675519f8.zip
New ebuild sci-physics/LoopTools-2.7 for bug#424860
(Portage version: 2.2.0_alpha113/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'sci-physics/LoopTools/files')
-rw-r--r--sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
new file mode 100644
index 000000000..4dfc8474a
--- /dev/null
+++ b/sci-physics/LoopTools/files/LoopTools-2.7-makefile.patch
@@ -0,0 +1,29 @@
+--- makefile.in
++++ makefile.in
+@@ -1,8 +1,8 @@
+ BLD = build$(QUADSUFFIX)
+
+-LIBDIR = $(PREFIX)/lib$(LIBDIRSUFFIX)
+-INCLUDEDIR = $(PREFIX)/include
+-BINDIR = $(PREFIX)/bin
++LIBDIR = $(DESTDIR)/$(PREFIX)/lib$(LIBDIRSUFFIX)
++INCLUDEDIR = $(DESTDIR)/$(PREFIX)/include
++BINDIR = $(DESTDIR)/$(PREFIX)/bin
+
+ LIB = libooptools$(QUADSUFFIX).a
+ FE = lt$(QUADSUFFIX)$(EXE)
+@@ -38,13 +38,12 @@
+ cd $(BLD) && $(MAKE) $(ARGS) $@
+
+ install: lib frontend
+- -mkdir $(PREFIX)
++ -mkdir $(DESTDIR)$(PREFIX)
+ -mkdir $(LIBDIR) $(BINDIR) $(INCLUDEDIR)
+ cp -p $(BLD)/$(LIB) $(LIBDIR)
+ cp -p $(INCLUDE$(QUADSUFFIX)) $(INCLUDEDIR)
+- strip $(BLD)/$(FE)
+ cp -p $(BLD)/fcc $(BLD)/$(FE) $(BINDIR)
+- test ! -f $(BLD)/$(MFE) || { strip $(BLD)/$(MFE) ; cp -p $(BLD)/$(MFE) $(BINDIR); }
++ test ! -f $(BLD)/$(MFE) || { cp -p $(BLD)/$(MFE) $(BINDIR); }
+
+ force: $(BLD)/timestamp