Use '-O0' when compiling on the Alpha to avoid internal compiler errors.
This commit is contained in:
parent
81dbac7e07
commit
0d5a0510ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39541
@ -30,7 +30,13 @@ CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2 \
|
||||
--with-x-includes=${X11BASE}/include \
|
||||
--with-x-libraries=${X11BASE}/lib
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -17,6 +17,12 @@ USE_XLIB= yes
|
||||
USE_QT2= yes
|
||||
MAKE_ENV= QTDIR="${X11BASE}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
|
||||
|
||||
@ -37,4 +43,4 @@ do-install:
|
||||
@${LN} -sf ${PREFIX}/share/doc/qcad ${PREFIX}/share/qcad/doc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -17,6 +17,12 @@ USE_XLIB= yes
|
||||
USE_QT2= yes
|
||||
MAKE_ENV= QTDIR="${X11BASE}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
|
||||
|
||||
@ -37,4 +43,4 @@ do-install:
|
||||
@${LN} -sf ${PREFIX}/share/doc/qcad ${PREFIX}/share/qcad/doc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -25,6 +25,12 @@ CONFIGURE_ENV= QTDIR="${X11BASE}" MOC="${X11BASE}/bin/moc2" \
|
||||
CONFIGURE_ARGS= --disable-shared
|
||||
MAKE_ENV= QTEZ="${X11BASE}/share/qtez"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@find ${WRKSRC} -name "Makefile.am" | xargs ${PERL} -pi -e \
|
||||
's|\@DEBUG\@|\@CXXFLAGS\@ \@DEBUG\@|g'
|
||||
@ -35,4 +41,4 @@ pre-configure:
|
||||
post-install:
|
||||
@${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -19,6 +19,12 @@ USE_GMAKE= yes
|
||||
USE_QT2= yes
|
||||
WRKSRC= ${WRKDIR}/fine
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/share/fine
|
||||
${INSTALL_DATA} ${WRKSRC}/.editor ${PREFIX}/share/fine/editor
|
||||
@ -27,4 +33,4 @@ do-install:
|
||||
.endfor
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/fine ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user