Skip to content

Commit

Permalink
mingw-w64-git: remove workaround for asciidoctor as it's no longer ne…
Browse files Browse the repository at this point in the history
…eded

Ruby support was added to clangarm64 in November 2023, so we can now enable asciidoctor-extensions on ARM64 as well.

Ref: msys2#19179
Ref: #118
Signed-off-by: Dennis Ameling <[email protected]>
  • Loading branch information
dennisameling committed May 15, 2024
1 parent 97b2d08 commit 9e448a9
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions mingw-w64-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ sha256sums=('SKIP'
'7413506c59d25621e475aa45447993748332c72cfbb4cf94cce6bee6f1218a09'
'6d83e1cb1acdb6eb1f2d5cb9299298e57680f5ca43d43c3e67c9da17f21b9b01')

USE_ASCIIDOCTOR="YesPlease"
COMPAT_CFLAGS=
STRIP=
STRIP_OPTS=
Expand All @@ -98,13 +97,6 @@ else
options+=('strip')
fi

if test CLANGARM64 = "$MSYSTEM"
then
# Asciidoctor depends on Ruby which is not available for CLANGARM64 yet
makedepends=("${makedepends[@]/${MINGW_PACKAGE_PREFIX}-asciidoctor-extensions}")
USE_ASCIIDOCTOR=
fi

pkgver() {
cd "$srcdir/git"
basever=${tag%.windows.*}
Expand All @@ -130,7 +122,7 @@ prepare () {
cd "$srcdir/git" &&

cat >config.mak <<-EOF
USE_ASCIIDOCTOR = $USE_ASCIIDOCTOR
USE_ASCIIDOCTOR = YesPlease
COMPAT_CFLAGS += $COMPAT_CFLAGS
LDFLAGS = $LDFLAGS
EOF
Expand Down

0 comments on commit 9e448a9

Please sign in to comment.