aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-09-21 03:38:08 +0800
committerdanfe <danfe@FreeBSD.org>2004-09-21 03:38:08 +0800
commitf9f97a16b5ae45fb7dbe85ae20dc58ed3feda0b3 (patch)
tree2d9972d80ef225cdc787a11cbefd52f381012327
parent537a6054e4b8d7fa6a9e866eddf787e9a3be2c5a (diff)
downloadfreebsd-ports-gnome-f9f97a16b5ae45fb7dbe85ae20dc58ed3feda0b3.tar.gz
freebsd-ports-gnome-f9f97a16b5ae45fb7dbe85ae20dc58ed3feda0b3.tar.zst
freebsd-ports-gnome-f9f97a16b5ae45fb7dbe85ae20dc58ed3feda0b3.zip
Unbreak the build on 5.X and -CURRENT.
Reported by: kris Approved by: portmgr (marcus), fjoe (mentor, implicit)
-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>