1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Remove -traditional -Dconst= from compile options

A swap file (foo.swp) is used to recover when crashed.
  Before the modification, we cannot recover from the swap file.

Submitted by: Kikuchi <kikuchan@wave.tc.knct.ac.jp>
Suggested by: Tomoaki NISHIYAMA <tomoaki@nibb.ac.jp>
Obtained from: http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-users-jp/68055
This commit is contained in:
Satoshi Taoka 2002-05-23 08:09:22 +00:00
parent 46c71f3824
commit 3d8d899b6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59770

View File

@ -32,7 +32,7 @@ PLIST_SUB= VERSION=${PORTVERSION}
PORT_DOCDIR= ${PREFIX}/share/doc/ja-jvim-${PORTVERSION}
# -DUSE_X11 is the cause of a problem treating Japanese
MACHINE= -DBSD_UNIX -DUSE_LOCALE
CC= cc ${CFLAGS} -Wall -traditional -Dconst=
CC= cc ${CFLAGS} -Wall
LIBS= -ltermlib -lxpg4 -L${PREFIX}/lib
.if !defined(WITHOUT_X11)
@ -102,7 +102,7 @@ PLIST_SUB+= HAS_JVIM3RC="@comment "
.endif
post-extract:
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${JPATCH} \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}${JPATCH} \
${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
pre-patch: