From aee0243cca1af42f631cad819e0dd691fd2bc6b6 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 20 Sep 2004 19:38:08 +0000 Subject: Unbreak the build on 5.X and -CURRENT. Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit) --- games/macopix/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/games/macopix/Makefile b/games/macopix/Makefile index 08062147c272..9b3e23fa1ff4 100644 --- a/games/macopix/Makefile +++ b/games/macopix/Makefile @@ -35,6 +35,7 @@ RESTRICTED_FILES= \ macopix-mascot-marimite-ja-1.20.tar.gz USE_GETTEXT= yes +USE_REINPLACE= yes USE_X_PREFIX= yes .if defined(WITH_GTK2) USE_GNOME= gtk20 @@ -53,11 +54,8 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ MAN1= macopix.1 -.include - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif +post-extract: + @${REINPLACE_CMD} -e 's/_MAIL } MailStatus/_MAIL } MailStatus2/' ${WRKSRC}/src/main.h post-install: ${STRIP_CMD} ${PREFIX}/bin/macopix @@ -113,4 +111,4 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/NKR.README.jp ${PREFIX}/share/doc/macopix .endif -.include +.include -- cgit v1.2.3