Changeset View
Changeset View
Standalone View
Standalone View
head/japanese/man/Makefile
Show All 23 Lines | |||||
BROKEN_mips= fails to compile: man.c:37:10: fatal error: 'config.h' file not found | BROKEN_mips= fails to compile: man.c:37:10: fatal error: 'config.h' file not found | ||||
MAKE_ENV= GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}" | MAKE_ENV= GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}" | ||||
USES= shebangfix | USES= shebangfix | ||||
SHEBANG_FILES= catman/catman.perl makewhatis/makewhatis.perl | SHEBANG_FILES= catman/catman.perl makewhatis/makewhatis.perl | ||||
# Fix build with clang11 | # Fix build with clang11 | ||||
CFLAGS+= -fcommon | CFLAGS+= -fcommon | ||||
# XXX PIE static libraries currently not supported by base system /usr/share/mk | |||||
MAKE_ARGS+= WITHOUT_PIE=true | |||||
post-patch: | post-patch: | ||||
.for file in apropos/apropos.sh catman/catman.perl \ | .for file in apropos/apropos.sh catman/catman.perl \ | ||||
makewhatis/jmakewhatis.local.man \ | makewhatis/jmakewhatis.local.man \ | ||||
makewhatis/jmakewhatis.local.man.eng \ | makewhatis/jmakewhatis.local.man.eng \ | ||||
makewhatis/makewhatis.local.sh \ | makewhatis/makewhatis.local.sh \ | ||||
man/locale.c manpath/manpath.config | man/locale.c manpath/manpath.config | ||||
${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${file} | ${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${file} | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |