Skip to content

Commit

Permalink
deskutils/xneur: Drop special casing of GCC 4.2
Browse files Browse the repository at this point in the history
Remove code specifically added for GCC 4.2. USES=compiler:nestedfct
does not pull that in any longer.

This reverts most of commit 44b3b1b
from 2020.

Approved by:	maintainer
  • Loading branch information
Gerald Pfeifer authored and Gerald Pfeifer committed Dec 20, 2022
1 parent 10bb9c0 commit 574f018
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions deskutils/xneur/Makefile
Expand Up @@ -52,14 +52,8 @@ SOUND_USES= openal:al,alut
SOUND_CONFIGURE_ON= --with-sound=openal
SOUND_CONFIGURE_OFF= --with-sound=no

.include <bsd.port.pre.mk>

.if ${COMPILER_VERSION} == 42
CFLAGS+= -fnested-functions
.endif

post-patch:
@${REINPLACE_CMD} -e 's,-Werror,,g; s,-ldl,,g' ${WRKSRC}/configure
@${MV} ${WRKSRC}/etc/xneurrc ${WRKSRC}/etc/xneurrc.sample

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit 574f018

Please sign in to comment.