Ticket #56347: patch.txt

File patch.txt, 1.4 KB (added by aszostak-partner-eso-org, 7 years ago)

Patch to cfitsio to fix problem with install_name setting.

Line 
1diff --git a/science/cfitsio/Portfile b/science/cfitsio/Portfile
2index 85be063cb9..e1961f01be 100644
3--- a/science/cfitsio/Portfile
4+++ b/science/cfitsio/Portfile
5@@ -5,6 +5,7 @@ PortGroup           compilers 1.0
6 
7 name                cfitsio
8 version             3.440
9+revision            1
10 categories          science
11 license             zlib MIT {LGPL Noncommercial}
12 platforms           darwin
13diff --git a/science/cfitsio/files/patch-configure.diff b/science/cfitsio/files/patch-configure.diff
14index c32458302b..53ecb12546 100644
15--- a/science/cfitsio/files/patch-configure.diff
16+++ b/science/cfitsio/files/patch-configure.diff
17@@ -20,7 +20,7 @@
18 -            SHLIB_LD="$CC -dynamiclib -install_name lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
19 -            ;;
20          *)
21-+            SHLIB_LD="$CC -dynamiclib -install_name @@MPORTS_PREFIX@@/lib/libcfitsio.dylib -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
22++            SHLIB_LD="$CC -dynamiclib -install_name @@MPORTS_PREFIX@@/lib/libcfitsio.\${CFITSIO_SONAME}.dylib -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
23 +            ;;
24 +        idontthinkso)
25              # Build 'Universal' binaries (i386 & x86_64 architectures) and