Lines 44-70
Link Here
|
44 |
.endif |
44 |
.endif |
45 |
|
45 |
|
46 |
XEMACS_REL= 21.5 |
46 |
XEMACS_REL= 21.5 |
47 |
XEMACS_VER= ${XEMACS_REL}-b19 |
47 |
XEMACS_VER= ${XEMACS_REL}-b20 |
48 |
XEMACS_ARCH= ${CONFIGURE_TARGET} |
48 |
XEMACS_ARCH= ${MACHINE_ARCH}--freebsd |
49 |
|
49 |
|
50 |
WRKSRC= ${WRKDIR}/xemacs-${XEMACS_VER:S/-b/./} |
50 |
WRKSRC= ${WRKDIR}/xemacs-${XEMACS_VER:S/-b/./} |
51 |
STRIP= |
51 |
STRIP= |
52 |
USE_AUTOCONF_VER=213 |
52 |
USE_AUTOCONF_VER=259 |
53 |
CONFIGURE_TARGET=${MACHINE_ARCH}--freebsd |
53 |
CONFIGURE_TARGET=--build=${XEMACS_ARCH} |
54 |
|
54 |
|
55 |
CONFIGURE_ARGS= --with-mule \ |
55 |
CONFIGURE_ARGS= --enable-mule \ |
56 |
--x-includes=${X11BASE}/include \ |
56 |
--x-includes=${X11BASE}/include \ |
57 |
--x-libraries=${X11BASE}/lib \ |
57 |
--x-libraries=${X11BASE}/lib \ |
58 |
--site-libraries='${SITE_LIBRARIES}' \ |
58 |
--with-site-libraries='${SITE_LIBRARIES}' \ |
59 |
--site-includes='${SITE_INCLUDES}' \ |
59 |
--with-site-includes='${SITE_INCLUDES}' \ |
60 |
--with-sound=native \ |
60 |
--enable-sound=native \ |
61 |
--with-site-lisp \ |
61 |
--with-site-lisp \ |
62 |
--with-pop \ |
62 |
--with-pop \ |
63 |
--with-xfs \ |
63 |
--with-xfs \ |
64 |
--with-ldap=no \ |
64 |
--with-ldap=no \ |
65 |
--infopath=${LOCALBASE}/lib/xemacs/info:${LOCALBASE}/info:${X11BASE}/info:/usr/info:${LOCALBASE}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \ |
65 |
--with-infopath=${LOCALBASE}/lib/xemacs/info:${LOCALBASE}/info:${X11BASE}/info:/usr/info:${LOCALBASE}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \ |
66 |
--with-clash-detection \ |
66 |
--enable-clash-detection \ |
67 |
--with-database=berkdb \ |
67 |
--enable-database=berkdb \ |
68 |
${WITH_XIM} \ |
68 |
${WITH_XIM} \ |
69 |
${WITH_MENUBARS} ${WITH_SCROLLBARS} \ |
69 |
${WITH_MENUBARS} ${WITH_SCROLLBARS} \ |
70 |
${WITH_DIALOGS} ${WITH_WIDGETS} |
70 |
${WITH_DIALOGS} ${WITH_WIDGETS} |
Lines 82-92
Link Here
|
82 |
.endif |
82 |
.endif |
83 |
|
83 |
|
84 |
.if !defined(DEBUG) |
84 |
.if !defined(DEBUG) |
85 |
CONFIGURE_ARGS+=--debug=no --error-checking=none |
85 |
CONFIGURE_ARGS+=--enable-debug=no --enable-error-checking=no |
86 |
.endif |
86 |
.endif |
87 |
|
87 |
|
88 |
.if defined(WITH_GTK) |
88 |
.if defined(WITH_GTK) |
89 |
CONFIGURE_ARGS+=--with-gtk |
89 |
CONFIGURE_ARGS+=--with-gtk |
|
|
90 |
WITH_XIM= |
91 |
WITH_MENUBARS= --enable-menubars=gtk |
92 |
WITH_SCROLLBARS=--enable-scrollbars=gtk |
93 |
WITH_DIALOGS= --enable-dialogs=gtk |
94 |
WITH_WIDGETS= --enable-widgets=gtk |
90 |
USE_GNOME+= gtk12 |
95 |
USE_GNOME+= gtk12 |
91 |
.endif |
96 |
.endif |
92 |
|
97 |
|
Lines 98-104
Link Here
|
98 |
|
103 |
|
99 |
# Undump and malloc do not behave on amd64 and sparc64 |
104 |
# Undump and malloc do not behave on amd64 and sparc64 |
100 |
.if (${ARCH} == "amd64") || (${ARCH} == "sparc64") |
105 |
.if (${ARCH} == "amd64") || (${ARCH} == "sparc64") |
101 |
CONFIGURE_ARGS+=--with-system-malloc --pdump |
106 |
CONFIGURE_ARGS+=--with-system-malloc --enable-pdump |
102 |
.endif |
107 |
.endif |
103 |
|
108 |
|
104 |
pre-fetch: |
109 |
pre-fetch: |
Lines 106-112
Link Here
|
106 |
@${ECHO_MSG} "" |
111 |
@${ECHO_MSG} "" |
107 |
@${ECHO_MSG} "Set the environment variable WITHOUT_X11 if you " |
112 |
@${ECHO_MSG} "Set the environment variable WITHOUT_X11 if you " |
108 |
@${ECHO_MSG} "do not want to use X11." |
113 |
@${ECHO_MSG} "do not want to use X11." |
109 |
CONFIGURE_ARGS+= --without-x11 |
114 |
CONFIGURE_ARGS+= --with-x11=no |
110 |
.else |
115 |
.else |
111 |
.if !defined(WITH_GTK) |
116 |
.if !defined(WITH_GTK) |
112 |
@${ECHO_MSG} "If you want to use GTK, please set the environment variable WITH_GTK and recompile." |
117 |
@${ECHO_MSG} "If you want to use GTK, please set the environment variable WITH_GTK and recompile." |
Lines 124-146
Link Here
|
124 |
|
129 |
|
125 |
# hack to avoid shipping binaries linked with Motif |
130 |
# hack to avoid shipping binaries linked with Motif |
126 |
.if defined(MOTIF_STATIC) |
131 |
.if defined(MOTIF_STATIC) |
127 |
WITH_DIALOGS= --with-dialogs=athena |
132 |
WITH_DIALOGS?= --enable-dialogs=athena |
128 |
.else |
133 |
.else |
129 |
WITH_DIALOGS= --with-dialogs=motif |
134 |
WITH_DIALOGS?= --enable-dialogs=motif |
130 |
.endif |
135 |
.endif |
131 |
|
136 |
|
132 |
.if defined(PACKAGE_BUILDING) |
137 |
.if defined(PACKAGE_BUILDING) |
133 |
CONFIGURE_ARGS+=--with-offix=no |
138 |
CONFIGURE_ARGS+=--with-offix=no |
134 |
.endif |
139 |
.endif |
135 |
WITH_MENUBARS?= --with-menubars=lucid |
140 |
WITH_MENUBARS?= --enable-menubars=lucid |
136 |
WITH_SCROLLBARS?=--with-scrollbars=motif |
141 |
WITH_SCROLLBARS?=--enable-scrollbars=motif |
137 |
WITH_WIDGETS?= --with-widgets=motif |
142 |
WITH_WIDGETS?= --enable-widgets=motif |
138 |
.endif |
143 |
.endif |
139 |
WITH_XIM?= --with-xim=xlib |
144 |
WITH_XIM?= --with-xim=xlib |
140 |
WITH_MENUBARS?= --with-menubars=athena |
145 |
WITH_MENUBARS?= --enable-menubars=athena |
141 |
WITH_SCROLLBARS?=--with-scrollbars=athena |
146 |
WITH_SCROLLBARS?=--enable-scrollbars=athena |
142 |
WITH_DIALOGS?= --with-dialogs=athena |
147 |
WITH_DIALOGS?= --enable-dialogs=athena |
143 |
WITH_WIDGETS?= --with-widgets=athena |
148 |
WITH_WIDGETS?= --enable-widgets=athena |
144 |
|
149 |
|
145 |
.if defined(WITH_XAW3D) |
150 |
.if defined(WITH_XAW3D) |
146 |
CONFIGURE_ARGS+=--with-athena=3d |
151 |
CONFIGURE_ARGS+=--with-athena=3d |