aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-01-23 22:04:19 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-01-23 22:04:19 +0000
commit43e0e9e10f675706a0d8de1aab3f75df3c6ff5bc (patch)
tree40bb49dd561e92c4708734c54eff3106c90474b5 /japanese
parent50aae0ccfe95f615d8118246ae04ed7c84adcc3b (diff)
downloadports-43e0e9e10f675706a0d8de1aab3f75df3c6ff5bc.tar.gz
ports-43e0e9e10f675706a0d8de1aab3f75df3c6ff5bc.zip
japanese/man: unbreak in several archs.
The port was broken in 12 and in different archs. mips is still to be tested. PR: 235058 Submitted by: phd_kimberlite@yahoo.co.jp Reviewed by: Ronald Klop (aarch64) mikael.urankar@gmail.com (armv6, armv7) MFH: 2019Q1 (build fix)
Notes
Notes: svn path=/head/; revision=491061
Diffstat (limited to 'japanese')
-rw-r--r--japanese/man/Makefile5
-rw-r--r--japanese/man/files/patch-man__Makefile9
-rw-r--r--japanese/man/files/patch-manpath__Makefile8
3 files changed, 15 insertions, 7 deletions
diff --git a/japanese/man/Makefile b/japanese/man/Makefile
index 4c508545585d..b22f2f716458 100644
--- a/japanese/man/Makefile
+++ b/japanese/man/Makefile
@@ -21,10 +21,7 @@ LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/bin/groff:japanese/groff \
jless:japanese/less
-BROKEN_aarch64= fails to compile: man.c:37:10: fatal error: 'config.h' file not found
-BROKEN_armv6= fails to compile: man.c:37:10: fatal error: 'config.h' file not found
-BROKEN_armv7= 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
+BROKEN_mips= fails to compile: man.c:37:10: fatal error: 'config.h' file not found
MAKE_ENV= GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}"
USES= shebangfix
diff --git a/japanese/man/files/patch-man__Makefile b/japanese/man/files/patch-man__Makefile
index bf481e72fffa..c7ecd256ab0e 100644
--- a/japanese/man/files/patch-man__Makefile
+++ b/japanese/man/files/patch-man__Makefile
@@ -19,7 +19,7 @@
LDADD+= -L/usr/lib -lxpg4
.endif
-@@ -48,11 +48,18 @@
+@@ -48,16 +48,23 @@
${.CURDIR}/jman.man.eng | \
${compress} > ${EMAN1}
@@ -40,3 +40,10 @@
afterinstall:
.endif
+ man.o locale.o: locale.h
+
+-.include "../Makefile.inc"
+-
+ .include <bsd.prog.mk>
++
++.include "../Makefile.inc"
diff --git a/japanese/man/files/patch-manpath__Makefile b/japanese/man/files/patch-manpath__Makefile
index 8146e8f4a006..1f49beb93051 100644
--- a/japanese/man/files/patch-manpath__Makefile
+++ b/japanese/man/files/patch-manpath__Makefile
@@ -1,6 +1,6 @@
--- manpath/Makefile.orig 2001-06-11 21:25:34.000000000 +0900
+++ manpath/Makefile 2014-08-26 12:10:04.000000000 +0900
-@@ -24,10 +24,19 @@
+@@ -24,12 +24,21 @@
${.CURDIR}/jmanpath.man.eng | \
${compress} > ${EMAN1}
@@ -21,4 +21,8 @@
+afterinstall:
.endif
- .include "../Makefile.inc"
+-.include "../Makefile.inc"
+-
+ .include <bsd.prog.mk>
++
++.include "../Makefile.inc"