Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
msdobrescu committed Jan 15, 2025
1 parent 8a701ef commit 0c726a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/apps/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13587,7 +13587,7 @@ packages:

- category: "apps"
name: "mkvtoolnix"
version: "86.0+1"
version: "88.0"
uri:
- https://mkvtoolnix.download
license: "GPL-2"
Expand All @@ -13603,6 +13603,7 @@ packages:
atoms:
- atom: "media-video/mkvtoolnix"
use: "dbus dvd gui nls # pch"
accept_keywords: "~amd64"
inner_build_reqs:
- dev-ruby/rake
- app-text/po4a
Expand Down
3 changes: 2 additions & 1 deletion packages/templates/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,12 @@

{{- $value := ( index $atom "usepkg_exclude" ) }}
{{- if $value }}
cat /etc/portage/make.conf || true; \
grep -qx 'EMERGE_DEFAULT_OPTS=.*' /etc/portage/make.conf || echo 'EMERGE_DEFAULT_OPTS=' >> /etc/portage/make.conf; \
sed -i -e "/EMERGE_DEFAULT_OPTS=.*--usepkg-exclude/! s/$/ --usepkg-exclude/" /etc/portage/make.conf; \
sed -i -e "/EMERGE_DEFAULT_OPTS=.*--usepkg-exclude[ ]*'/! s/\(EMERGE_DEFAULT_OPTS=.*--usepkg-exclude\)[ ]*/\1 ''/" /etc/portage/make.conf; \
sed -i -e "/--usepkg-exclude[ ]*'.*{{ $atom.atom | replace "/" "\\/" }}.*'/! s/--usepkg-exclude\([ ]*\)'\(.*\)'/--usepkg-exclude '{{ $atom.atom | replace "/" "\\/" }} \2'/" /etc/portage/make.conf; \
cat /etc/portage/make.conf
cat /etc/portage/make.conf; \
{{- end }}

{{- if eq ( mod $count 50 ) 0 }}
Expand Down

0 comments on commit 0c726a8

Please sign in to comment.