aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-07-09 20:59:30 +0800
committernork <nork@FreeBSD.org>2005-07-09 20:59:30 +0800
commitb02d34dc5e4664221cb012a1b75621db0e7b4dfb (patch)
tree4b6401c392bb3efd2382c22919c8c791e62eb294
parent569df5e707aedc0bba00ecb9cf1e164bd175a9a8 (diff)
downloadfreebsd-ports-gnome-b02d34dc5e4664221cb012a1b75621db0e7b4dfb.tar.gz
freebsd-ports-gnome-b02d34dc5e4664221cb012a1b75621db0e7b4dfb.tar.zst
freebsd-ports-gnome-b02d34dc5e4664221cb012a1b75621db0e7b4dfb.zip
Fix build problem.
PR: ports/82854 Pointed out by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
-rw-r--r--japanese/otojiro-fpw/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/japanese/otojiro-fpw/Makefile b/japanese/otojiro-fpw/Makefile
index 427801a65782..93303b4dd3fc 100644
--- a/japanese/otojiro-fpw/Makefile
+++ b/japanese/otojiro-fpw/Makefile
@@ -23,6 +23,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libexec/freepwing/catdump:${PORTSDIR}/japanese/freep
RESTRICTED= "The original dictionary is not free"
NO_PACKAGE= "The original dictionary is not free"
USE_GMAKE= yes
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/otojiro-fpw${PORTVERSION:S/.a/a/}
DICT_PATH?= /cdrom
SRCFILE?= otojiro.txt
@@ -58,6 +59,9 @@ post-extract:
${FALSE}; \
fi
+post-patch:
+ @${REINPLACE_CMD} -e "s/FPWPARSERFLAGS = -- /FPWPARSERFLAGS = /g" ${WRKSRC}/Makefile
+
do-build:
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} fpwmake; \
fpwmake catalogs