Ticket #28154: Patch1

File Patch1, 1.3 KB (added by lukas.reichlin@…, 14 years ago)

Portfile Patch 3.3.90_0 ---> 3.3.90_1

Line 
1--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/octave-devel/Portfile 2011-01-25 03:00:14.000000000 +0100
2+++ /Users/lukas/Desktop/Portfile_2011_01_25_2312       2011-01-25 22:21:18.000000000 +0100
3@@ -5,6 +5,7 @@
4 
5 name                octave-devel
6 version             3.3.90
7+revision            1
8 conflicts           octave
9 categories          math science
10 maintainers         michaelld openmaintainer
11@@ -58,10 +59,10 @@
12 # flag, which means this port cannot easy compile as universal.
13 patchfiles-append patch-configure.diff
14 
15-platform darwin 10 {
16-    # for 10.6 only
17-    patchfiles-append patch-lo-specfun.cc.diff
18-}
19+#platform darwin 10 {
20+#    # for 10.6 only
21+#    patchfiles-append patch-lo-specfun.cc.diff
22+#}
23 
24 universal_variant   no
25 
26@@ -125,11 +126,13 @@
27 }
28 
29 variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc45 gcc43 g95 {
30+    configure.env-append    LDFLAGS="${prefix}/lib/gcc44/libstdc++.6.dylib"
31     depends_build-append    port:gcc44
32     configure.compiler      macports-gcc-4.4
33 }
34 
35 variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc44 gcc43 g95 {
36+    configure.env-append    LDFLAGS="${prefix}/lib/gcc45/libstdc++.6.dylib"
37     depends_build-append    port:gcc45
38     configure.compiler      macports-gcc-4.5
39 }