aboutsummaryrefslogtreecommitdiff
path: root/emulators/vice
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-02-10 14:21:22 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-02-10 14:21:22 +0000
commited34cd5c5791e9e4cb9aa33364b04c265b7f9307 (patch)
tree4f646d366e82bb19223eb27eb9cf49e6ac478134 /emulators/vice
parentf9039e0cd6b6929d2647af1117a5afb3cde317f6 (diff)
downloadports-ed34cd5c5791e9e4cb9aa33364b04c265b7f9307.tar.gz
ports-ed34cd5c5791e9e4cb9aa33364b04c265b7f9307.zip
- fix build on i386
Notes
Notes: svn path=/head/; revision=525708
Diffstat (limited to 'emulators/vice')
-rw-r--r--emulators/vice/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 4aed48822fea..76a0f9659c4c 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -98,6 +98,13 @@ pre-configure:
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in
.endif
+.if ${ARCH} == "i386"
+ ${REINPLACE_CMD} \
+ -e 's|^@HAVE_BSD_FREE_FALSE@|@HAVE_BSD_FREE2_TRUE@|' \
+ -e 's|^@HAVE_BSD_FREE_TRUE@|@HAVE_BSD_FREE_FALSE@|' \
+ -e 's|^@HAVE_BSD_FREE2_TRUE@|@HAVE_BSD_FREE_TRUE@|' \
+ ${WRKSRC}/src/Makefile.in
+.endif
pre-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}