aboutsummaryrefslogtreecommitdiff
path: root/games/macopix
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-20 19:38:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-20 19:38:08 +0000
commitaee0243cca1af42f631cad819e0dd691fd2bc6b6 (patch)
tree50f4cfb49eb10dbb46c67e46099182411a36f741 /games/macopix
parent1f16f5e923efdaa0086ab117a0ea1b0598c150b3 (diff)
downloadports-aee0243cca1af42f631cad819e0dd691fd2bc6b6.tar.gz
ports-aee0243cca1af42f631cad819e0dd691fd2bc6b6.zip
Unbreak the build on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit)
Notes
Notes: svn path=/head/; revision=118305
Diffstat (limited to 'games/macopix')
-rw-r--r--games/macopix/Makefile10
1 files 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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>