Index: head/games/dunelegacy/Makefile =================================================================== --- head/games/dunelegacy/Makefile (revision 492445) +++ head/games/dunelegacy/Makefile (revision 492446) @@ -1,22 +1,26 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= dunelegacy PORTVERSION= 0.96.4 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= swills@FreeBSD.org COMMENT= Open source clone of Dune II LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf compiler:c++11-lib tar:bzip2 pkgconfig GNU_CONFIGURE= yes USE_SDL= sdl2 mixer2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +post-patch: + @${REINPLACE_CMD} -e 's|MIX_INIT_FLUIDSYNTH|MIX_INIT_MID|g' \ + ${WRKSRC}/src/FileClasses/music/*.cpp + .include