aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/lyx/Makefile10
-rw-r--r--japanese/lyx/files/patch-aa11
2 files changed, 16 insertions, 5 deletions
diff --git a/japanese/lyx/Makefile b/japanese/lyx/Makefile
index 36cba2f8330f..a1a66530bd88 100644
--- a/japanese/lyx/Makefile
+++ b/japanese/lyx/Makefile
@@ -18,10 +18,10 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= flathill@FreeBSD.ORG
-RUN_DEPENDS= platex:${PORTSDIR}/japanese/platex-euc
-.if defined(WITH_ISPELL)
-RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
-.endif
+#RUN_DEPENDS= platex:${PORTSDIR}/japanese/platex-euc
+#.if defined(WITH_ISPELL)
+#RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
+#.endif
LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms \
Xpm.4:${PORTSDIR}/graphics/xpm
@@ -38,7 +38,7 @@ pre-fetch:
@${ECHO_MSG} "make WITH_ISPELL=yes"
.endif
-do-patch:
+post-patch:
@cd ${WRKSRC}; ${PATCH} -p1 < ../lyx-jp-patch
post-install:
diff --git a/japanese/lyx/files/patch-aa b/japanese/lyx/files/patch-aa
new file mode 100644
index 000000000000..9bccd8a35872
--- /dev/null
+++ b/japanese/lyx/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.orig Tue Jun 1 19:07:35 1999
++++ configure Mon Apr 24 21:02:48 2000
+@@ -5777,7 +5777,7 @@
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
+-extern select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);
++extern int select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);
+ int main() {
+
+ ; return 0; }