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

(cherry picked from commit 8406919)
  • Loading branch information
yurivict committed Apr 28, 2024
1 parent 0f7cdd5 commit ea0258c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions www/trunk/Makefile
Expand Up @@ -20,6 +20,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 @@ -463,6 +465,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 ea0258c

Please sign in to comment.