Simpler prefix args.
This commit is contained in:
		@@ -8,6 +8,6 @@ class Callpath(Package):
 | 
			
		||||
    depends_on("mpi")
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure("--prefix=%s" % prefix)
 | 
			
		||||
        configure("--prefix=" + prefix)
 | 
			
		||||
        make()
 | 
			
		||||
        make("install")
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ class Cmake(Package):
 | 
			
		||||
    versions  = { '2.8.10.2' : '097278785da7182ec0aea8769d06860c' }
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure('--prefix=%s'   % prefix,
 | 
			
		||||
                  '--parallel=%s' % make_jobs)
 | 
			
		||||
        configure('--prefix='   + prefix,
 | 
			
		||||
                  '--parallel=' + make_jobs)
 | 
			
		||||
        make()
 | 
			
		||||
        make('install')
 | 
			
		||||
 
 | 
			
		||||
@@ -12,6 +12,6 @@ class Dyninst(Package):
 | 
			
		||||
    depends_on("libdwarf")
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure("--prefix=%s" % prefix)
 | 
			
		||||
        configure("--prefix=" + prefix)
 | 
			
		||||
        make()
 | 
			
		||||
        make("install")
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,7 @@ def install(self, spec, prefix):
 | 
			
		||||
        mkdirp(prefix.bin, prefix.include, prefix.lib, prefix.man1)
 | 
			
		||||
 | 
			
		||||
        with working_dir('libdwarf'):
 | 
			
		||||
            configure("--prefix=%s" % prefix, '--enable-shared')
 | 
			
		||||
            configure("--prefix=" + prefix, "--enable-shared")
 | 
			
		||||
            make()
 | 
			
		||||
 | 
			
		||||
            install('libdwarf.a',  prefix.lib)
 | 
			
		||||
@@ -40,7 +40,7 @@ def install(self, spec, prefix):
 | 
			
		||||
            install('dwarf.h',     prefix.include)
 | 
			
		||||
 | 
			
		||||
        with working_dir('dwarfdump2'):
 | 
			
		||||
            configure("--prefix=%s" % prefix)
 | 
			
		||||
            configure("--prefix=" + prefix)
 | 
			
		||||
 | 
			
		||||
            # This makefile has strings of copy commands that
 | 
			
		||||
            # cause a race in parallel
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@ class Libelf(Package):
 | 
			
		||||
                 '0.8.12' : 'e21f8273d9f5f6d43a59878dc274fec7', }
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure("--prefix=%s" % prefix,
 | 
			
		||||
        configure("--prefix=" + prefix,
 | 
			
		||||
                  "--enable-shared",
 | 
			
		||||
                  "--disable-dependency-tracking",
 | 
			
		||||
                  "--disable-debug")
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,6 @@ class Libunwind(Package):
 | 
			
		||||
    versions = { '1.1' : 'fb4ea2f6fbbe45bf032cd36e586883ce' }
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure("--prefix=%s" % prefix)
 | 
			
		||||
        configure("--prefix=" + prefix)
 | 
			
		||||
        make()
 | 
			
		||||
        make("install")
 | 
			
		||||
 
 | 
			
		||||
@@ -14,6 +14,6 @@ class Mpich(Package):
 | 
			
		||||
    provides('mpi@:1', when='@1:')
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure("--prefix=%s" % prefix)
 | 
			
		||||
        configure("--prefix=" + prefix)
 | 
			
		||||
        make()
 | 
			
		||||
        make("install")
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,6 @@ class Mpileaks(Package):
 | 
			
		||||
    depends_on("callpath")
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        configure("--prefix=%s" % prefix)
 | 
			
		||||
        configure("--prefix=" + prefix)
 | 
			
		||||
        make()
 | 
			
		||||
        make("install")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user