aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2017-05-31 18:07:10 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2017-05-31 18:07:10 +0000
commit3eab423448af93a80f01871898ae016c080dcd52 (patch)
tree3f70f6344b37542f6960ca82cc52cb0cab87ba63 /net-im
parentffe9bb87af020b10637aad02565a542bb6185e7f (diff)
downloadports-3eab423448af93a80f01871898ae016c080dcd52.tar.gz
ports-3eab423448af93a80f01871898ae016c080dcd52.zip
net-im/mastodon: No need to patch ${WRKSRC}/bin/yarn now, because www/yarn
now creates a yarnpkg link in ${PREFIX}/bin
Notes
Notes: svn path=/head/; revision=442251
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mastodon/Makefile1
-rw-r--r--net-im/mastodon/files/patch-bin_yarn11
2 files changed, 0 insertions, 12 deletions
diff --git a/net-im/mastodon/Makefile b/net-im/mastodon/Makefile
index 0f5b7ef5971f..953e839e2ec6 100644
--- a/net-im/mastodon/Makefile
+++ b/net-im/mastodon/Makefile
@@ -93,7 +93,6 @@ SUB_FILES= 900.mastodon nginx.conf nginx-include.conf
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
- ${WRKSRC}/bin/yarn \
${WRKSRC}/config/environments/production.rb
do-install:
diff --git a/net-im/mastodon/files/patch-bin_yarn b/net-im/mastodon/files/patch-bin_yarn
deleted file mode 100644
index ee70d9ef8396..000000000000
--- a/net-im/mastodon/files/patch-bin_yarn
+++ /dev/null
@@ -1,11 +0,0 @@
---- bin/yarn.orig 2017-05-25 22:16:48 UTC
-+++ bin/yarn
-@@ -2,7 +2,7 @@
- VENDOR_PATH = File.expand_path('..', __dir__)
- Dir.chdir(VENDOR_PATH) do
- begin
-- exec "yarnpkg #{ARGV.join(" ")}"
-+ exec "%%PREFIX%%/bin/yarn #{ARGV.join(" ")}"
- rescue Errno::ENOENT
- $stderr.puts "Yarn executable was not detected in the system."
- $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"