summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/crimson/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/crimson/Makefile b/games/crimson/Makefile
index 5b75c92a12c6..04731d083c89 100644
--- a/games/crimson/Makefile
+++ b/games/crimson/Makefile
@@ -16,10 +16,11 @@ MAINTAINER= jan@jungnickel.com
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12
USE_BZIP2= yes
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_GMAKE= yes
post-patch:
- ${PERL} -pi -e "s|sdl-config|sdl11-config|;" ${WRKSRC}/configure
+ @${PERL} -pi -e "s|sdl-config|sdl11-config|; s|SDL/|SDL11/|" \
+ ${WRKSRC}/configure
.include <bsd.port.mk>