diff options
-rw-r--r-- | japanese/otojiro-fpw/Makefile | 4 |
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 |