mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
Fix build on amd64.
PR: ports/114734
This commit is contained in:
parent
09ca18629f
commit
e4cf5b355b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195986
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= gui
|
||||
PORTVERSION= ${QT4_VERSION}
|
||||
PORTREVISION=0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= x11-toolkits
|
||||
MASTER_SITES= ${MASTER_SITE_QT}
|
||||
PKGNAMEPREFIX= qt4-
|
||||
@ -82,6 +82,10 @@ pre-configure:
|
||||
${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/../../bin/uic
|
||||
|
||||
post-configure:
|
||||
.if ${OSVERSION} < 700042 && ${ARCH} == "amd64"
|
||||
${REINPLACE_CMD} -E -e 's|CXXFLAGS[[:space:]]*=(.*)|CXXFLAGS=-fno-gcse\1|g' \
|
||||
${WRKSRC}/Makefile
|
||||
.endif
|
||||
${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
|
||||
-e 's|.*$$(QMAKE).*||g' -e 's|(test -z.*||g' ${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user