1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Get its configure to recognize amd64 by s/x86_64/amd64/g to enable SSE/MMX.

PR:		ports/167721
Submitted by:	Jan Beich <jbeich@tormail.org>
This commit is contained in:
Jeremy Messenger 2012-05-20 20:24:46 +00:00
parent 9edb31a774
commit f8b66ee5ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297061

View File

@ -197,11 +197,15 @@ CONFIGURE_ARGS+= --disable-docs
post-patch:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e '10s|\\||; 11,13d' ${WRKSRC}/Makefile.am
${REINPLACE_CMD} -e '10s|\\||; 11,13d' \
${WRKSRC}/Makefile.am
.endif
${REINPLACE_CMD} -e 's|-T||' ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in
${REINPLACE_CMD} -e 's|\(lua\)\(5\.1\)|\1-\2|g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|/usr/bin/ruby|/usr/bin/env ruby|' ${WRKSRC}/tools/gobj2dot.rb
${REINPLACE_CMD} -e 's|-T||' \
${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in
${REINPLACE_CMD} -e 's|\(lua\)\(5\.1\)|\1-\2|g ; s|x86_64|amd64|g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|/usr/bin/ruby|/usr/bin/env ruby|' \
${WRKSRC}/tools/gobj2dot.rb
post-build:
.if !defined(NOPORTDOCS)