Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559057
en ru br
ALT Linux repos
S:5.1.25-alt6
5.0: 5.1.22-alt1
4.1: 5.1.20-alt3
4.0: 5.1.20-alt3
3.0: 5.1.18-alt1

Group :: Sciences/Mathematics
RPM: grace

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: grace-5.1.9-alt1-alt-makefile-bindir.patch
Download


diff -uNr grace-5.1.9.orig1/auxiliary/Makefile grace-5.1.9/auxiliary/Makefile
--- grace-5.1.9.orig1/auxiliary/Makefile	2002-06-22 15:40:21 +0400
+++ grace-5.1.9/auxiliary/Makefile	2002-08-14 02:43:55 +0400
@@ -27,8 +27,8 @@
 install : $(AUXILIARIES) $(PROGRAMS) $(SCRIPTS)
 	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/auxiliary
 	for i in $(AUXILIARIES); do $(INSTALL_DATA) $$i $(DESTDIR)$(GRACE_HOME)/auxiliary; done
-	for i in $(PROGRAMS); do $(INSTALL_PROGRAM) -s $$i $(DESTDIR)$(GRACE_HOME)/bin; done
-	for i in $(SCRIPTS); do $(INSTALL_PROGRAM) $$i $(DESTDIR)$(GRACE_HOME)/bin; done
+	for i in $(PROGRAMS); do $(INSTALL_PROGRAM) -s $$i $(bindir); done
+	for i in $(SCRIPTS); do $(INSTALL_PROGRAM) $$i $(bindir); done
 
 tests : dummy
 
diff -uNr grace-5.1.9.orig1/grconvert/Makefile grace-5.1.9/grconvert/Makefile
--- grace-5.1.9.orig1/grconvert/Makefile	2002-06-22 15:40:21 +0400
+++ grace-5.1.9/grconvert/Makefile	2002-08-14 02:41:02 +0400
@@ -41,8 +41,8 @@
 	$(RM) $(PROG) $(OBJS)
 
 install : $(PROG)
-	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/bin
-	$(INSTALL_PROGRAM) -s $(PROG) $(DESTDIR)$(GRACE_HOME)/bin/$(PROG)
+	$(MKINSTALLDIRS) $(bindir)
+	$(INSTALL_PROGRAM) -s $(PROG) $(bindir)/$(PROG)
 
 dummy :
 
diff -uNr grace-5.1.9.orig1/src/Makefile grace-5.1.9/src/Makefile
--- grace-5.1.9.orig1/src/Makefile	2002-06-22 15:40:21 +0400
+++ grace-5.1.9/src/Makefile	2002-08-14 02:40:11 +0400
@@ -59,9 +59,9 @@
 
 
 install : $(GRACE)
-	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/bin
-	$(INSTALL_PROGRAM) -s $(GRACE) $(DESTDIR)$(GRACE_HOME)/bin/$(GRACE)
-	cd $(DESTDIR)$(GRACE_HOME)/bin; $(RM) $(GRBATCH); $(LN_S) $(GRACE) $(GRBATCH)
+	$(MKINSTALLDIRS) $(bindir)
+	$(INSTALL_PROGRAM) -s $(GRACE) $(bindir)/$(GRACE)
+	cd $(bindir); $(RM) $(GRBATCH); $(LN_S) $(GRACE) $(GRBATCH)
 
 tests : dummy
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin