diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 16:24:22 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 16:24:22 +0000 |
commit | ebf8f6f313e91df7407eae7be77efdbc1787f96b (patch) | |
tree | 4a669381b580d96d2fecd143da54a0ef2a20aa33 /japanese | |
parent | - Fix a typo: esecannai -> esecanna (diff) |
Make applying the vendor's minor update optional, as the updated
version was found to be quite buggy and die too often. We'd rather
take small memory leaks rather than frequent deaths. Sigh.
Notes
Notes:
svn path=/head/; revision=30240
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/vje30/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/japanese/vje30/Makefile b/japanese/vje30/Makefile index a46a590a91a3..002d68832512 100644 --- a/japanese/vje30/Makefile +++ b/japanese/vje30/Makefile @@ -42,7 +42,9 @@ DISTOBJFORMAT= ELF .endif MAINDIST= ${DISTNAME}${EXTRACT_SUFX} -UPDATEDIST= update${EXTRACT_SUFX} +.if defined(WITH_MINORUPDATE) + UPDATEDIST= update${EXTRACT_SUFX} +.endif BINSTUFF= vje \ vjed \ @@ -70,6 +72,9 @@ pre-fetch: ${ECHO} "*****************************************************************"; \ ${FALSE} \ ) +.if !defined(WITH_MINORUPDATE) + @${ECHO} "If you dare apply the buggy minor update from the vendor, define \"WITH_MINORUPDATE\"." +.endif post-extract: @${RM} ${_DISTDIR}/${MAINDIST} @@ -77,7 +82,9 @@ post-extract: post-patch: @cd ${WRKSRC}/vje30/bin && ${RM} swingall.jar @find ${WRKSRC} -name '*.orig' -delete +.if defined(WITH_MINORUPDATE) @${MV} ${WRKDIR}/vje ${WRKSRC}/vje30/bin/ +.endif do-install: @cd ${WRKSRC} && tar cf - . | tar xf - -C ${PREFIX} @@ -87,9 +94,11 @@ do-install: @${CHMOD} a+x ${PREFIX}/etc/rc.d/vje.sh @${CHMOD} a+w ${PREFIX}/vje30/dic/vjed95m.dic @[ X${PREFIX} = X"/usr/local" ] || (${LN} -s ${PREFIX}/vje30 /usr/local/; ${LN} -s ${PREFIX}/etc/vje30 /usr/local/etc/) +.if defined(WITH_MINORUPDATE) @${CP} ${WRKDIR}/vjed.bin /tmp/ @${ECHO} '' | ${WRKDIR}/vjesetup @${RM} /tmp/vjed.bin +.endif @${CP} -Pp /etc/services /etc/services.bak @${GREP} -qw '^vjed' /etc/services || ${ECHO} "vjed 11493/tcp # VJE-Delta Server" >> /etc/services |