summaryrefslogtreecommitdiffstats
path: root/editors/xemacs
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-24 10:53:40 +0000
committerknu <knu@FreeBSD.org>2000-10-24 10:53:40 +0000
commit30f2d26c45209e659be50f9846a2687effd2a94a (patch)
treeab5abef4222a813f0b51082a7e2106f68deceb3c /editors/xemacs
parent353df6b40782ebc3ef8b422e40ddb323d6b41604 (diff)
downloadFreeBSD-ports-30f2d26c45209e659be50f9846a2687effd2a94a.zip
FreeBSD-ports-30f2d26c45209e659be50f9846a2687effd2a94a.tar.gz
Enable XIM support by default.
Reflect Wnn4 -> FreeWnn change. Fix build problems. PR: ports/21549 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile10
-rw-r--r--editors/xemacs/files/patch-aa11
-rw-r--r--editors/xemacs/files/patch-af54
3 files changed, 60 insertions, 15 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index c0d7b6c..b67c4df 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -24,18 +24,18 @@ LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
XEMACS_REL= 21.1
XEMACS_VER= 21.1.12
+XEMACS_ARCH= ${CONFIGURE_TARGET}
+
DIST_SUBDIR= xemacs
SLAVEDIRS+= editors/xemacs21-mule
USE_XLIB= yes
USE_XPM= yes
-USE_GMAKE= yes
STRIP=
-HAS_CONFIGURE= yes
-XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
+USE_AUTOCONF= yes
+CONFIGURE_TARGET=${MACHINE_ARCH}--freebsd
-CONFIGURE_ARGS?=${XEMACS_ARCH} --prefix=${PREFIX} \
- --with-clash-detection \
+CONFIGURE_ARGS?=--with-clash-detection \
--lockdir=/var/run/emacs/lock \
--with-sound=native \
--with-session=yes \
diff --git a/editors/xemacs/files/patch-aa b/editors/xemacs/files/patch-aa
new file mode 100644
index 0000000..45fbafd
--- /dev/null
+++ b/editors/xemacs/files/patch-aa
@@ -0,0 +1,11 @@
+--- lib-src/Makefile.in.in~ Tue Feb 8 11:54:39 2000
++++ lib-src/Makefile.in.in Thu Sep 21 22:26:13 2000
+@@ -224,7 +224,7 @@
+ (cd ${archlibdir} && \
+ $(RM) ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
+
+-.PHONY: mostlyclean clean distclean realclean extraclean
++.PHONY: mostlyclean clean distclean realclean extraclean ${archlibdir}
+ mostlyclean:
+ $(RM) *.o *.i core
+ clean: mostlyclean
diff --git a/editors/xemacs/files/patch-af b/editors/xemacs/files/patch-af
index 8021b40..90ca082 100644
--- a/editors/xemacs/files/patch-af
+++ b/editors/xemacs/files/patch-af
@@ -1,19 +1,53 @@
---- configure.orig Fri Aug 4 11:49:54 2000
-+++ configure Mon Aug 7 22:38:52 2000
-@@ -1042,6 +1042,7 @@
-
+--- configure.in.orig Fri Aug 4 11:49:59 2000
++++ configure.in Fri Sep 8 16:12:55 2000
+@@ -1053,6 +1053,7 @@
+ dnl Straightforward OS determination
case "$canonical" in
*-*-linux* ) opsys=linux ;;
+ *-*-freebsd* ) opsys=freebsd ;;
*-*-netbsd* ) opsys=netbsd ;;
*-*-openbsd* ) opsys=openbsd ;;
*-*-nextstep* ) opsys=nextstep ;;
-@@ -11407,7 +11408,7 @@
+@@ -3052,21 +3053,24 @@
+ test "$ac_cv_func_crypt" != "yes" && { AC_CHECK_LIB(crypt, crypt) }
+ fi
+ dnl Back to our regularly scheduled wnn hunting
+- if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
+- AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn,
+- AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4,
+- AC_CHECK_LIB(wnn6,jl_dic_list_e,libwnn=wnn6,
+- AC_CHECK_LIB(wnn6_fromsrc,dic_list_e,libwnn=wnn6_fromsrc,with_wnn=no))))
++ if test "$with_wnn6" = "yes"; then
++ AC_CHECK_LIB(wnn6,jl_fi_dic_list_e,libwnn=wnn6,
++ AC_CHECK_LIB(wnn6_fromsrc,jl_fi_dic_list_e,libwnn=wnn6_fromsrc,
++ AC_CHECK_LIB(wnn,jl_fi_dic_list_e,libwnn=wnn, [with_wnn6=no; with_wnn=no])))
++ else
++ if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
++ AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn,
++ AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4,
++ AC_CHECK_LIB(wnn6,jl_fi_dic_list_e,[libwnn=wnn6; with_wnn6=yes],
++ AC_CHECK_LIB(wnn6_fromsrc,jl_fi_dic_list_e, [libwnn=wnn6_fromsrc; with_wnn6=yes],with_wnn=no))))
++ fi
+ fi
+ test -z "$with_wnn" && with_wnn=yes
+ if test "$with_wnn" = "yes"; then
+ AC_DEFINE(HAVE_WNN)
+ XE_PREPEND(-l$libwnn, libs_x)
+ XE_ADD_OBJS(mule-wnnfns.o)
+- if test "$with_wnn6" != "no"; then
+- AC_CHECK_LIB($libwnn, jl_fi_dic_list, with_wnn6=yes)
+- test "$with_wnn6" = "yes" && AC_DEFINE(WNN6)
+- fi
++ test "$with_wnn6" = "yes" && AC_DEFINE(WNN6)
+ fi
+
+ dnl Autodetect canna
+@@ -3579,7 +3583,7 @@
+ dnl Check for Berkeley DB.
if test "$with_database_berkdb" != "no"; then
- echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
- echo "configure:11410: checking for Berkeley db.h" >&5
+ AC_MSG_CHECKING(for Berkeley db.h)
- for path in "db/db.h" "db.h"; do
+ for path in "/usr/include/db.h" "db/db.h" "db.h"; do
- cat > conftest.$ac_ext <<EOF
- #line 11413 "configure"
- #include "confdefs.h"
+ AC_TRY_COMPILE([
+ #include <stdlib.h>
+ #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
OpenPOWER on IntegriCloud