Mark as broken on gcc4.2. While here, remove obsolete cruft.

This commit is contained in:
Mark Linimon 2007-10-02 10:03:24 +00:00
parent c57c618458
commit 8317eb7d8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200638
4 changed files with 16 additions and 28 deletions

View file

@ -35,6 +35,10 @@ INSTALL_TARGET= install_lh001
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
pre-everything:: pre-everything::
.if ${HAVE_SDL} .if ${HAVE_SDL}
@${ECHO_MSG} "This port depends on SDL with OpenGL support." @${ECHO_MSG} "This port depends on SDL with OpenGL support."
@ -49,13 +53,6 @@ post-extract:
post-patch: post-patch:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-littlehack.patch) @(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-littlehack.patch)
.if ${OSVERSION} < 502103
@${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \
${WRKSRC}/littlehack-0.0.1/src/sounds.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.h \
${PATCH_WRKSRC}/noegnud/noegnud_textcolouring.c
.endif
do-configure: do-configure:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1/Makefile) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-littlehack-0.0.1/Makefile)

View file

@ -35,6 +35,10 @@ INSTALL_TARGET= install_nh342-dt
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
pre-everything:: pre-everything::
.if ${HAVE_SDL} .if ${HAVE_SDL}
@${ECHO_MSG} "This port depends on SDL with OpenGL support." @${ECHO_MSG} "This port depends on SDL with OpenGL support."
@ -49,13 +53,6 @@ post-extract:
post-patch: post-patch:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.2-deet) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.2-deet)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-nethack-deet.patch) @(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-nethack-deet.patch)
.if ${OSVERSION} < 502103
@${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \
${WRKSRC}/nethack-3.4.2-deet/src/sounds.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.h \
${PATCH_WRKSRC}/noegnud/noegnud_textcolouring.c
.endif
do-configure: do-configure:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.2-deet/Makefile) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.2-deet/Makefile)

View file

@ -35,6 +35,10 @@ INSTALL_TARGET= install_nh343
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
pre-everything:: pre-everything::
.if ${HAVE_SDL} .if ${HAVE_SDL}
@${ECHO_MSG} "This port depends on SDL with OpenGL support." @${ECHO_MSG} "This port depends on SDL with OpenGL support."
@ -49,13 +53,6 @@ post-extract:
post-patch: post-patch:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.3) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.3)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-nethack.patch) @(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-nethack.patch)
.if ${OSVERSION} < 502103
@${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \
${WRKSRC}/nethack-3.4.3/src/sounds.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.h \
${PATCH_WRKSRC}/noegnud/noegnud_textcolouring.c
.endif
do-configure: do-configure:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.3/Makefile) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-nethack-3.4.3/Makefile)

View file

@ -35,6 +35,10 @@ INSTALL_TARGET= install_se006e4f8
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
pre-everything:: pre-everything::
.if ${HAVE_SDL} .if ${HAVE_SDL}
@${ECHO_MSG} "This port depends on SDL with OpenGL support." @${ECHO_MSG} "This port depends on SDL with OpenGL support."
@ -49,13 +53,6 @@ post-extract:
post-patch: post-patch:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8)
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-slashem.patch) @(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-slashem.patch)
.if ${OSVERSION} < 502103
@${REINPLACE_CMD} -e 's/regex\.h/gnuregex\.h/' \
${WRKSRC}/slashem-0.0.6E4F8/src/sounds.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.c \
${PATCH_WRKSRC}/noegnud/noegnud_textcolour.h \
${PATCH_WRKSRC}/noegnud/noegnud_textcolouring.c
.endif
do-configure: do-configure:
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8/Makefile) (cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8/Makefile)