diff --git a/archivers/libzzip/Portfile b/archivers/libzzip/Portfile index 3774c71eadc..3af37e55cd0 100644 --- a/archivers/libzzip/Portfile +++ b/archivers/libzzip/Portfile @@ -37,10 +37,8 @@ depends_test-append port:unzip \ # this build links its own library, so => Disable RPATH # See: https://github.com/gdraheim/zziplib/issues/121 -cmake.install_rpath configure.pre_args-delete \ - -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ - -DCMAKE_INSTALL_RPATH="[join [option cmake.install_rpath] \;]" + -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON configure.args-append \ -DPYTHON_EXECUTABLE=${prefix}/bin/python${python.branch} \ diff --git a/cross/arm-toolchain-embedded/Portfile b/cross/arm-toolchain-embedded/Portfile index 1f99d545147..b94623e41ee 100644 --- a/cross/arm-toolchain-embedded/Portfile +++ b/cross/arm-toolchain-embedded/Portfile @@ -51,7 +51,6 @@ depends_build-append path:bin/git:git \ # Install everything under libexec cmake.install_prefix ${sub_prefix} -cmake.install_rpath cmake.generator Ninja cmake.build_type Release diff --git a/devel/apache-arrow/Portfile b/devel/apache-arrow/Portfile index 0566c9071f0..c1b26194574 100644 --- a/devel/apache-arrow/Portfile +++ b/devel/apache-arrow/Portfile @@ -260,9 +260,6 @@ if {[string match "py*" ${subport}]} { port:py${python.version}-pytest-lazy-fixture \ port:py${python.version}-tz - # the build must link against its own libraries - cmake.install_rpath - use_configure yes # install apache-arrow for this ${python.branch} in ${configure_destdir} diff --git a/devel/grpc/Portfile b/devel/grpc/Portfile index b51aa46bc7b..01cbe1fe439 100644 --- a/devel/grpc/Portfile +++ b/devel/grpc/Portfile @@ -98,7 +98,6 @@ if {${build_arch} in [list i386 ppc] && [string match *gcc* ${configure.compiler } # the build must link against its own libraries -cmake.install_rpath configure.pre_args-replace \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF diff --git a/lang/clang-11-bootstrap/Portfile b/lang/clang-11-bootstrap/Portfile index dd199888a8b..eec84f8fa9f 100644 --- a/lang/clang-11-bootstrap/Portfile +++ b/lang/clang-11-bootstrap/Portfile @@ -136,7 +136,6 @@ cmake.generator {Unix Makefiles} # Install everything into libexec cmake.install_prefix \ ${prefix}/libexec/${name} -cmake.install_rpath configure.pre_args-replace \ {*}[cmake::system_prefix_path] \ diff --git a/lang/libcxx-powerpc/Portfile b/lang/libcxx-powerpc/Portfile index 7ce267e3ad7..6bce669215c 100644 --- a/lang/libcxx-powerpc/Portfile +++ b/lang/libcxx-powerpc/Portfile @@ -144,7 +144,6 @@ cmake.generator {Unix Makefiles} # As long as the port is explicitly for PowerPC and in single version, we can install into the prefix: cmake.install_prefix ${prefix}/libexec/llvm-${version} -cmake.install_rpath configure.pre_args-replace {*}[cmake::system_prefix_path] \ -DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;/usr" diff --git a/math/OpenBLAS/Portfile b/math/OpenBLAS/Portfile index a53916b08d8..a07ce808f1a 100644 --- a/math/OpenBLAS/Portfile +++ b/math/OpenBLAS/Portfile @@ -180,7 +180,6 @@ configure.pre_args-delete -DCMAKE_INSTALL_RPATH=${prefix}/lib configure.pre_args-replace -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF -cmake.install_rpath compilers.add_gcc_rpath_support no post-destroot { diff --git a/science/paraview/Portfile b/science/paraview/Portfile index 61e40216d81..65afa9929da 100644 --- a/science/paraview/Portfile +++ b/science/paraview/Portfile @@ -81,8 +81,6 @@ compiler.cxx_standard 2011 qt5.depends_component sqlite-plugin qttools qtxmlpatterns qt5.min_version 5.6 -cmake.install_rpath - # paraview sets its own optimization flags configure.optflags