aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xyagamo
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2005-04-16 02:45:42 +0800
committersf <sf@FreeBSD.org>2005-04-16 02:45:42 +0800
commit23a0afca9389435bdb86e0d21756c066798a5007 (patch)
treef7500eec801b596033a325759684aa5b17991286 /japanese/xyagamo
parentf2559726182cd379b7ab157abd23b9401a481cc4 (diff)
downloadfreebsd-ports-gnome-23a0afca9389435bdb86e0d21756c066798a5007.tar.gz
freebsd-ports-gnome-23a0afca9389435bdb86e0d21756c066798a5007.tar.zst
freebsd-ports-gnome-23a0afca9389435bdb86e0d21756c066798a5007.zip
unbreak (libxpg4.)
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>