[MacPorts] #53564: textmate2: update to 2.0-rc.4
MacPorts
noreply at macports.org
Tue Feb 14 22:43:07 UTC 2017
#53564: textmate2: update to 2.0-rc.4
------------------------+------------------------
Reporter: lpsinger | Owner: neverpanic
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: textmate2 |
------------------------+------------------------
Comment (by neverpanic):
If somebody wants to help prepare a patch that would be welcome. My
current status is
{{{
#!patch
diff --git a/editors/textmate2/Portfile b/editors/textmate2/Portfile
index c7b87d2423..687316f742 100644
--- a/editors/textmate2/Portfile
+++ b/editors/textmate2/Portfile
@@ -5,7 +5,7 @@ PortGroup github 1.0
PortGroup xcodeversion 1.0
epoch 4
-github.setup textmate textmate 2.0-beta.12.4 v
+github.setup textmate textmate 2.0-rc.4 v
revision 0
maintainers cal openmaintainer
@@ -32,7 +32,6 @@ post-fetch {
}
patchfiles patch-configure-versionnumber.diff \
- patch-target.diff \
patch-frameworks_license_target.diff \
patch-Applications_commit_target.diff
diff --git a/editors/textmate2/files/patch-frameworks_license_target.diff
b/editors/textmate2/files/patch-frameworks_license_target.diff
index 861429298f..9ffb3b351d 100644
--- a/editors/textmate2/files/patch-frameworks_license_target.diff
+++ b/editors/textmate2/files/patch-frameworks_license_target.diff
@@ -6,12 +6,14 @@ It partially reverts [1] where the static library
linking was introduced.
[1]:
https://github.com/textmate/textmate/commit/5bbcf424874917d4f021a3f33379c6b530dae0f3
---- Frameworks/license/target.orig 2016-01-24 17:03:26.000000000
+0100
-+++ Frameworks/license/target 2016-01-24 17:03:43.000000000 +0100
-@@ -3,5 +3,5 @@
- LINK += text cf
- CXX_FLAGS += -I"$libressl_prefix/include"
+diff --git ./Frameworks/license/target ./Frameworks/license/target
+index ed276b6a..dfb060db 100644
+--- ./Frameworks/license/target
++++ ./Frameworks/license/target
+@@ -2,5 +2,5 @@ SOURCES = src/*.{cc,mm}
+ EXPORT = src/LicenseManager.h
+ LINK += crash text cf ns OakAppKit OakFoundation
LN_FLAGS += -Wl,-U,__Z15revoked_serialsv
--LN_FLAGS += "$libressl_prefix"/lib/libcrypto.a
-+LIBS += crypto
+-LIBS += "$libressl_prefix/lib/libcrypto.a"
++LIBS += -lcrypto
FRAMEWORKS = Security
diff --git a/editors/textmate2/files/patch-target.diff
b/editors/textmate2/files/patch-target.diff
deleted file mode 100644
index a49362eeb4..0000000000
--- a/editors/textmate2/files/patch-target.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- target.orig 2015-09-18 07:37:05.000000000 -0500
-+++ target 2015-09-18 07:51:33.000000000 -0500
-@@ -25,7 +25,7 @@
- LN_FLAGS += -Wl,-dead_strip_dylibs
- LN_FLAGS += -rpath @executable_path/../Frameworks
-
--CXX_FLAGS += -I"$capnp_prefix/include"
-+CXX_FLAGS += -isystem"$capnp_prefix/include"
- LN_FLAGS += -L"$capnp_prefix/lib"
-
- PRELUDE = Shared/PCH/prelude.*
}}}
but now my build fails with
{{{
Downloading ‘https://api.textmate.org/bundles’…
*** error downloading ‘https://api.textmate.org/bundles/c-937.tbz’: error
setting certificate verify locations:
CAfile: /opt/local/share/curl/curl-ca-bundle.crt
CApath: none
path::make_dir:
mkdir("/opt/local/var/macports/build/_opt_dports_editors_textmate2/textmate2/work/.home/Library/Caches/com.macromates.TextMate/Bundles"):
File exists
path::make_dir:
mkdir("/opt/local/var/macports/build/_opt_dports_editors_textmate2/textmate2/work/.home/Library/Caches/com.macromates.TextMate/Bundles"):
File exists
path::make_dir:
mkdir("/opt/local/var/macports/build/_opt_dports_editors_textmate2/textmate2/work/.home/Library/Caches/com.macromates.TextMate/Bundles"):
File exists
*** failed to install C.
Command failed: cd
"/opt/local/var/macports/build/_opt_dports_editors_textmate2/textmate2/work/textmate-2.0-rc.4"
&& ./configure --prefix=/opt/local
Exit code: 69
}}}
and I don't have the time to debug this right now.
--
Ticket URL: <https://trac.macports.org/ticket/53564#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list