aboutsummaryrefslogtreecommitdiff
path: root/japanese/xyagamo
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2005-04-15 18:45:42 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2005-04-15 18:45:42 +0000
commit9aaef51129801522de5728c6f2cf0b5ef905dc4c (patch)
treec866d7423bde308c22b0346d7f16311a316ecf45 /japanese/xyagamo
parent4f82756f909fd47b7a1d3ac1600c83e91a418bb2 (diff)
Notes
Diffstat (limited to 'japanese/xyagamo')
-rw-r--r--japanese/xyagamo/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/japanese/xyagamo/Makefile b/japanese/xyagamo/Makefile
index c70baaa2cb68..37eaa5956ac7 100644
--- a/japanese/xyagamo/Makefile
+++ b/japanese/xyagamo/Makefile
@@ -15,18 +15,16 @@ COMMENT= Japanese version of a four player mahjong game
USE_X_PREFIX= YES
USE_XPM= yes
+USE_REINPLACE= yes
MAN6= xyagamo.6
MANLANG= ja
MAN6COMPRESSED= no
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 600006
-BROKEN= "Depends on libxpg4 which was removed from FreeBSD 6.0"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/-lxpg4//' ${WRKSRC}/src/Makefile
pre-build:
@cd ${BUILD_WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} depend
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>