ngをインストールするときにやっておくと良いであろう3つの事柄
ports経由でngをインストールするときにやっておいた方が良いであろう事柄。
・/usr/ports/japanese/ng/Makefileの編集
post-patch: @(cd ${WRKSRC}; ${LN} -sf sys/bsd/Makefile . ) ^^^
・一旦makeしたあとで以下のファイルを編集
/usr/ports/japanese/ng/work/ng-1.4.4/Makefile
CFLAGS = -O2 $(CDEFS) $(CANNAINC) -fstack-protector ^^^^^^^^^^^^^^^^^ (ProPolice/SSPパッチを適用している場合のみ)
/usr/ports/japanese/ng/work/ng-1.4.4/config.h
#define NO_BACKUP /* Disable backup files when writing. */ ^^^^^^ #define NEXTLINE 0 /* next-line-add-newlines (by S.Yoshida) */ ^
・/usr/ports/japanese/ng/work/ng-1.4.4/で
# make clean # make # cd /usr/ports/japanese/ng # make install