Skip to content

Commit

Permalink
www/trunk: Fix build on i386
Browse files Browse the repository at this point in the history
Reported by:	fallout
  • Loading branch information
yurivict committed Apr 28, 2024
1 parent b63fc79 commit 8406919
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions www/trunk/Makefile
Expand Up @@ -19,6 +19,8 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= thedodd

CARGO_FEATURES= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/sse sse2/} # add sse sse2 features only on i386

CARGO_CRATES= addr2line-0.21.0 \
adler-1.0.2 \
aes-0.8.4 \
Expand Down Expand Up @@ -462,6 +464,12 @@ OPENSSLLIB= /usr/lib

PLIST_FILES= bin/${PORTNAME}

#.include <bsd.port.pre.mk>

#.if ${ARCH} == amd64
#CARGO_FEATURES= ${ARCH:S/i386/sse sse2/}
#.endif

post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

Expand Down

0 comments on commit 8406919

Please sign in to comment.