FreeBSD Bugzilla – Attachment 168368 Details for
Bug 208120
devel/cmake: Strips necessary rpath when installing any GNU compiler from ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for RPATH bug with gfortran
cmake-modules.diff (text/plain), 2.74 KB, created by
Diane Bruce
on 2016-03-18 13:09:47 UTC
(
hide
)
Description:
Fix for RPATH bug with gfortran
Filename:
MIME Type:
Creator:
Diane Bruce
Created:
2016-03-18 13:09:47 UTC
Size:
2.74 KB
patch
obsolete
>Index: cmake-modules/Makefile >=================================================================== >--- cmake-modules/Makefile (revision 411321) >+++ cmake-modules/Makefile (working copy) >@@ -1,7 +1,7 @@ > # Created by: gahr > # $FreeBSD$ > >-PORTREVISION= 0 >+PORTREVISION= 1 > PKGNAMESUFFIX= -modules > > COMMENT= Modules and Templates for CMake >Index: cmake-modules/files/patch-Modules_CMakeFortranInformation.cmake >=================================================================== >--- cmake-modules/files/patch-Modules_CMakeFortranInformation.cmake (nonexistent) >+++ cmake-modules/files/patch-Modules_CMakeFortranInformation.cmake (working copy) >@@ -0,0 +1,12 @@ >+--- Modules/CMakeFortranInformation.cmake.orig 2016-01-19 16:09:06 UTC >++++ Modules/CMakeFortranInformation.cmake >+@@ -44,6 +44,9 @@ if (NOT _INCLUDED_FILE) >+ include(Platform/${CMAKE_SYSTEM_NAME} OPTIONAL) >+ endif () >+ >++if(CMAKE_Fortran_RPATH) >++ set(CMAKE_INSTALL_RPATH ${CMAKE_Fortran_RPATH};${CMAKE_INSTALL_RPATH}) >++endif() >+ if(CMAKE_Fortran_SIZEOF_DATA_PTR) >+ foreach(f ${CMAKE_Fortran_ABI_FILES}) >+ include(${f}) > >Property changes on: cmake-modules/files/patch-Modules_CMakeFortranInformation.cmake >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: cmake-modules/files/patch-Modules_Compiler_GNU-Fortran.cmake >=================================================================== >--- cmake-modules/files/patch-Modules_Compiler_GNU-Fortran.cmake (nonexistent) >+++ cmake-modules/files/patch-Modules_Compiler_GNU-Fortran.cmake (working copy) >@@ -0,0 +1,16 @@ >+--- Modules/Compiler/GNU-Fortran.cmake.orig 2016-03-18 02:08:11 UTC >++++ Modules/Compiler/GNU-Fortran.cmake >+@@ -13,3 +13,13 @@ unset(CMAKE_INCLUDE_SYSTEM_FLAG_Fortran) >+ >+ # Fortran-specific feature flags. >+ set(CMAKE_Fortran_MODDIR_FLAG -J) >++ >++# Find out where gfortran thinks that libgcc_s should come from. >++execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgcc_s.so >++ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} >++ OUTPUT_VARIABLE _D1) >++ >++# Map that to a sensible directory. >++get_filename_component(_D2 ${_D1} DIRECTORY) >++get_filename_component(_D3 ${_D2} ABSOLUTE) >++set(CMAKE_Fortran_RPATH ${_D3}) > >Property changes on: cmake-modules/files/patch-Modules_Compiler_GNU-Fortran.cmake >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208120
: 168368 |
168796
|
168925
|
179810