mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
(Attempt to) fix build on amd64
This commit is contained in:
parent
cda5cfe665
commit
cb66f3eb17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196113
@ -62,6 +62,10 @@ pre-configure:
|
||||
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc
|
||||
|
||||
post-configure:
|
||||
.if ${OSVERSION} < 700042 && ${ARCH} == "amd64"
|
||||
${REINPLACE_CMD} -E -e 's|CXXFLAGS[[:space:]]*=(.*)|CXXFLAGS=-fno-gcse\1|g' \
|
||||
${WRKSRC}/../../src/gui/Makefile
|
||||
.endif
|
||||
${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
|
||||
-e 's|.*$$(QMAKE).*||g' ${WRKSRC}/src/uitools/Makefile
|
||||
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
|
||||
|
Loading…
Reference in New Issue
Block a user