gnu: Remove redundant cmake libdir configure flags.
* gnu/packages/bioinformatics.scm (imp)[arguments]: Remove CMAKE_INSTALL_LIBDIR flag. * gnu/packages/calendar.scm (libical): Same. * gnu/packages/engineering.scm (kicad): Same. * gnu/packages/games.scm (openrct2, mgba): Same. * gnu/packages/gl.scm (virtualgl): Same. * gnu/packages/image-processing.scm (mia): Same. * gnu/packages/linux.scm (rdma-core): Same. * gnu/packages/machine-learning.scm (dlib): Same. * gnu/packages/maths.scm (lapack, superlu, z3): Same. * gnu/packages/password-utils.scm (keepassxc): Same. * gnu/packages/photo.scm (darktable): Same. * gnu/packages/rdesktop.scm (freerdp): Same.
This commit is contained in:
		
							parent
							
								
									5857a0658a
								
							
						
					
					
						commit
						677bc34d5b
					
				
					 12 changed files with 8 additions and 52 deletions
				
			
		| 
						 | 
				
			
			@ -10724,10 +10724,7 @@ programs for inferring phylogenies (evolutionary trees).")
 | 
			
		|||
    (arguments
 | 
			
		||||
     `(;; FIXME: Some tests fail because they produce warnings, others fail
 | 
			
		||||
       ;; because the PYTHONPATH does not include the modeller's directory.
 | 
			
		||||
       #:tests? #f
 | 
			
		||||
       ;; Do not place libraries in an architecture-specific directory.
 | 
			
		||||
       #:configure-flags
 | 
			
		||||
       (list "-DCMAKE_INSTALL_LIBDIR=lib")))
 | 
			
		||||
       #:tests? #f))
 | 
			
		||||
    (inputs
 | 
			
		||||
     `(("boost" ,boost)
 | 
			
		||||
       ("gsl" ,gsl)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,9 +56,6 @@
 | 
			
		|||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     '(#:tests? #f ; test suite appears broken
 | 
			
		||||
       #:configure-flags
 | 
			
		||||
       (list (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                            (assoc-ref %outputs "out") "/lib"))
 | 
			
		||||
       #:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (add-before 'configure 'patch-paths
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -693,8 +693,6 @@ language.")
 | 
			
		|||
                               (string-take commit 7))
 | 
			
		||||
               "-DCMAKE_BUILD_TYPE=Release"
 | 
			
		||||
               "-DKICAD_SKIP_BOOST=ON"; Use our system's boost library.
 | 
			
		||||
               (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                              (assoc-ref %outputs "out") "/lib")
 | 
			
		||||
               "-DKICAD_SCRIPTING=ON"
 | 
			
		||||
               "-DKICAD_SCRIPTING_MODULES=ON"
 | 
			
		||||
               "-DKICAD_SCRIPTING_WXPYTHON=ON"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2778,9 +2778,6 @@ Transport Tycoon Deluxe.")
 | 
			
		|||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:tests? #f ;; no tests available
 | 
			
		||||
       #:configure-flags
 | 
			
		||||
        (list (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                       (assoc-ref %outputs "out") "/lib"))
 | 
			
		||||
       #:phases
 | 
			
		||||
        (modify-phases %standard-phases
 | 
			
		||||
          (add-after 'unpack 'fix-usr-share-paths
 | 
			
		||||
| 
						 | 
				
			
			@ -3285,13 +3282,7 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
 | 
			
		|||
     `(#:tests? #f                      ;no "test" target
 | 
			
		||||
       #:configure-flags
 | 
			
		||||
       (list "-DUSE_LZMA=OFF"           ;do not use bundled LZMA
 | 
			
		||||
             "-DUSE_LIBZIP=OFF"         ;use "zlib" instead
 | 
			
		||||
             ;; Validate RUNPATH phase fails ("error: depends on
 | 
			
		||||
             ;; 'libmgba.so.0.6', which cannot be found in RUNPATH") without
 | 
			
		||||
             ;; the following S-exp.
 | 
			
		||||
             (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                            (assoc-ref %outputs "out")
 | 
			
		||||
                            "/lib"))))
 | 
			
		||||
             "-DUSE_LIBZIP=OFF")))      ;use "zlib" instead
 | 
			
		||||
    (native-inputs `(("pkg-config" ,pkg-config)))
 | 
			
		||||
    (inputs `(("ffmpeg" ,ffmpeg)
 | 
			
		||||
              ("imagemagick" ,imagemagick)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -742,9 +742,7 @@ mixed vector/bitmap output.")
 | 
			
		|||
         "0rnid3hwrry9d5d4m7sygq00xxx976rgk00a3557m9r5kxbmy476"))))
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:tests? #f ;; no tests are available
 | 
			
		||||
       #:configure-flags (list "-DVGL_USESSL=1" ;; use OpenSSL
 | 
			
		||||
                          (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                                         (assoc-ref %outputs "out") "/lib"))))
 | 
			
		||||
       #:configure-flags (list "-DVGL_USESSL=1"))) ;; use OpenSSL
 | 
			
		||||
    (build-system cmake-build-system)
 | 
			
		||||
    (inputs `(("glu" ,glu)
 | 
			
		||||
              ("libjpeg-turbo" ,libjpeg-turbo)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -98,8 +98,6 @@ licences similar to the Modified BSD licence."))))
 | 
			
		|||
    (arguments
 | 
			
		||||
     `(#:configure-flags
 | 
			
		||||
       (list "-DMIA_CREATE_NIPYPE_INTERFACES=0"
 | 
			
		||||
             (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                            (assoc-ref %outputs "out") "/lib")
 | 
			
		||||
             "-DCMAKE_CXX_FLAGS=-fpermissive")))
 | 
			
		||||
    (inputs
 | 
			
		||||
     `(("boost" ,boost)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3348,9 +3348,6 @@ The package provides additional NTFS tools.")
 | 
			
		|||
       ;; to do the same for consistency. They also recommend using the
 | 
			
		||||
       ;; "Release" build type.
 | 
			
		||||
       #:configure-flags (list "-GNinja"
 | 
			
		||||
                               ;; Defaults to "lib64" on 64-bit archs.
 | 
			
		||||
                               (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                                              (assoc-ref %outputs "out") "/lib")
 | 
			
		||||
                               "-DCMAKE_BUILD_TYPE=Release")
 | 
			
		||||
       #:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -542,11 +542,7 @@ and a QP solver.")
 | 
			
		|||
                  #t))))
 | 
			
		||||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     ;; Recent releases defaults to "lib64" on 64bit.
 | 
			
		||||
     `(#:configure-flags (list (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                                              (assoc-ref %outputs "out")
 | 
			
		||||
                                              "/lib"))
 | 
			
		||||
       #:phases
 | 
			
		||||
     `(#:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (add-after 'unpack 'disable-asserts
 | 
			
		||||
           (lambda _
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -463,12 +463,6 @@ large scale eigenvalue problems.")
 | 
			
		|||
              ("python" ,python-2)))
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:configure-flags (list
 | 
			
		||||
                          ;; Install to PREFIX/lib (the default is
 | 
			
		||||
                          ;; PREFIX/lib64).
 | 
			
		||||
                          (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                                         (assoc-ref %outputs "out")
 | 
			
		||||
                                         "/lib")
 | 
			
		||||
 | 
			
		||||
                          "-DBUILD_SHARED_LIBS:BOOL=YES"
 | 
			
		||||
                          "-DLAPACKE=ON"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1962,8 +1956,7 @@ void mc64ad_ (int *a, int *b, int *c, int *d, int *e, double *f, int *g,
 | 
			
		|||
    (arguments
 | 
			
		||||
     `(#:configure-flags '("-Denable_blaslib:BOOL=NO" ;do not use internal cblas
 | 
			
		||||
                           "-DTPL_BLAS_LIBRARIES=openblas"
 | 
			
		||||
                           "-DBUILD_SHARED_LIBS:BOOL=YES"
 | 
			
		||||
                           "-DCMAKE_INSTALL_LIBDIR=lib")))
 | 
			
		||||
                           "-DBUILD_SHARED_LIBS:BOOL=YES")))
 | 
			
		||||
    (home-page "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/")
 | 
			
		||||
    (synopsis "Supernodal direct solver for sparse linear systems")
 | 
			
		||||
    (description
 | 
			
		||||
| 
						 | 
				
			
			@ -3571,11 +3564,7 @@ as equations, scalars, vectors, and matrices.")
 | 
			
		|||
             "-DINSTALL_PYTHON_BINDINGS=true"
 | 
			
		||||
             (string-append "-DCMAKE_INSTALL_PYTHON_PKG_DIR="
 | 
			
		||||
                            %output
 | 
			
		||||
                            "/lib/python2.7/site-packages")
 | 
			
		||||
             (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                            %output
 | 
			
		||||
                            "/lib"))
 | 
			
		||||
 | 
			
		||||
                            "/lib/python2.7/site-packages"))
 | 
			
		||||
       #:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (add-before 'configure 'bootstrap
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -99,10 +99,6 @@ human.")
 | 
			
		|||
        (base32
 | 
			
		||||
         "0wrl8kxb16wzdgfjj057yv18cfg0b8z8lxp1fl2q8fkdgr7phm9g"))))
 | 
			
		||||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:configure-flags
 | 
			
		||||
       (list (string-append "-DCMAKE_INSTALL_LIBDIR="
 | 
			
		||||
                            (assoc-ref %outputs "out") "/lib"))))
 | 
			
		||||
    (inputs
 | 
			
		||||
     `(("libgcrypt" ,libgcrypt)
 | 
			
		||||
       ("libxi" ,libxi)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -337,7 +337,7 @@ photographic equipment.")
 | 
			
		|||
    (build-system cmake-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:tests? #f ; There are no tests.
 | 
			
		||||
       #:configure-flags '("-DCMAKE_INSTALL_LIBDIR=lib" "-DBINARY_PACKAGE_BUILD=On")
 | 
			
		||||
       #:configure-flags '("-DBINARY_PACKAGE_BUILD=On")
 | 
			
		||||
       #:make-flags
 | 
			
		||||
       (list
 | 
			
		||||
        (string-append "CPATH=" (assoc-ref %build-inputs "ilmbase")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -112,8 +112,7 @@ to remotely control a user's Windows desktop.")
 | 
			
		|||
         ("openssl" ,openssl)))
 | 
			
		||||
      (arguments
 | 
			
		||||
       `(#:configure-flags
 | 
			
		||||
         (list "-DCMAKE_INSTALL_LIBDIR=lib"
 | 
			
		||||
               "-DCMAKE_BUILD_TYPE=RELEASE"
 | 
			
		||||
         (list "-DCMAKE_BUILD_TYPE=RELEASE"
 | 
			
		||||
               "-DWITH_JPEG=ON"
 | 
			
		||||
               ,@(if (string-prefix? "x86_64"
 | 
			
		||||
                                     (or (%current-target-system)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue