diff --git a/databases/tokyocabinet/Portfile b/databases/tokyocabinet/Portfile
index f01f8adac2..f75648c6d0 100644
a
|
b
|
master_sites ${homepage} |
28 | 28 | checksums rmd160 8fb3c2f2e424a2135cb021d46905a783a1032a7b \ |
29 | 29 | sha256 a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90 |
30 | 30 | |
31 | | patchfiles patch-configure.diff |
| 31 | patchfiles patch-configure.diff \ |
| 32 | patch-tokyocabinet-no-static.diff |
32 | 33 | |
33 | 34 | depends_lib port:zlib \ |
34 | 35 | port:bzip2 |
… |
… |
configure.args --mandir=${prefix}/share/man \ |
45 | 46 | test.run yes |
46 | 47 | test.target check |
47 | 48 | |
48 | | # broken on snow leopard, ticket #25513 |
49 | | if {${os.major} < 10 || ${os.platform} ne "darwin"} { |
50 | 49 | variant debug conflicts devel profile fastest description {build for debugging} { |
51 | 50 | configure.args-append --enable-debug |
52 | 51 | } |
53 | | } |
54 | 52 | |
55 | 53 | variant devel conflicts profile fastest description {build for development} { |
56 | 54 | configure.args-append --enable-devel |
diff --git a/databases/tokyocabinet/files/patch-tokyocabinet-no-static.diff b/databases/tokyocabinet/files/patch-tokyocabinet-no-static.diff
new file mode 100644
index 0000000000..4cd973bcb5
-
|
+
|
|
| 1 | diff --git configure configure |
| 2 | index ae1371b..3446401 100755 |
| 3 | --- configure |
| 4 | +++ configure |
| 5 | @@ -2113,7 +2113,6 @@ if test "$enable_debug" = "yes" |
| 6 | then |
| 7 | MYCFLAGS="-std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0" |
| 8 | MYCPPFLAGS="$MYCPPFLAGS -UNDEBUG" |
| 9 | - MYCMDLDFLAGS="$MYCMDLDFLAGS -static" |
| 10 | enables="$enables (debug)" |
| 11 | fi |
| 12 | |