mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
Fix build for on powerpc64
PR: ports/148199 Submitted by: nwhitehorn@
This commit is contained in:
parent
ce12ea1c27
commit
49bbb6792c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257565
1 changed files with 7 additions and 1 deletions
|
@ -84,6 +84,12 @@ RUN_DEPENDS+= ${FONTSCALE}:${X_FONTS_TTF_PORT} \
|
||||||
${FONTENCOD}:${X_FONTS_ENCODINGS_PORT}
|
${FONTENCOD}:${X_FONTS_ENCODINGS_PORT}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${ARCH} == powerpc64
|
||||||
|
CFLAGS+= -mminimal-toc
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${MKDIR} ${WRKSRC}/mkspecs
|
${MKDIR} ${WRKSRC}/mkspecs
|
||||||
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
|
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
|
||||||
|
@ -99,4 +105,4 @@ post-configure:
|
||||||
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
|
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
|
||||||
${WRKSRC}/lib/pkgconfig/QtGui.pc
|
${WRKSRC}/lib/pkgconfig/QtGui.pc
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue