aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/lyx
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>2000-05-03 06:49:54 +0800
committerflathill <flathill@FreeBSD.org>2000-05-03 06:49:54 +0800
commita1f6bbf73bd917dd957dfcb1f7d27d528c43ef64 (patch)
treeb2706e8cb298b58e8e44aa4032a941e6a0531bf3 /japanese/lyx
parent885cc954ce1e4d5fe9b18de3019ac829b67bf7ee (diff)
downloadfreebsd-ports-gnome-a1f6bbf73bd917dd957dfcb1f7d27d528c43ef64.tar.gz
freebsd-ports-gnome-a1f6bbf73bd917dd957dfcb1f7d27d528c43ef64.tar.zst
freebsd-ports-gnome-a1f6bbf73bd917dd957dfcb1f7d27d528c43ef64.zip
Unbreak make fails in 4.0R new gcc environment
Pointed out by: Shimizu Yo <yo@bodg.ty.ihi.co.jp>
Diffstat (limited to 'japanese/lyx')
-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; }