When trying to build the editors/xemacs21 port on OpenBSD 3.7 with the
no_x11 flavor I get the following error when I try to install.
# FLAVOR=no_x11 make install
===> Building package for xemacs-21.4.15p1-no_x11
Can't resolve libspec ICE
/usr/sbin/pkg_create: Exactly one single package name is required: CVS
Makefile distinfo files patches pkg w-xemacs-21.4.15p1-no_x11 Error
code 1 -P converters/libiconv:libiconv-*:libiconv-1.9.2 -P
devel/gettext:gettext->=0.10.38:gettext-0.10.40p2 -W iconv.4.0 -W
intl.2.0 Stop in /usr/ports/editors/xemacs21 (line 2337 of
/usr/ports/infrastructure/mk/bsd.port.mk). -M
/usr/ports/editors/xemacs21/pkg/MESSAGE -B
/usr/ports/editors/xemacs21/w-xemacs-21.4.15p1-no_x11/fake-i386-no_x11
-Ai386 /usr/ports/packages/i386/all/xemacs-21.4.15p1-no_x11.tgz
Usage: pkg_create [-hnv] [-A arches] [-B pkg-destdir] [-D name=value]
[-i iscript] [-k dscript] [-L localbase] [-M displayfile]
[-P pkg-dependency] [-p prefix] [-r rscript] [-S pkg-destdir]
[-U undisplayfile] [-W wantedlib] -c desc -d desc -f packinglist pkgname
===> Cleaning for xemacs-21.4.15p1-no_x11
rm -f /usr/ports/packages/i386/all/xemacs-21.4.15p1-no_x11.tgz
*** Error code 1
Stop in /usr/ports/editors/xemacs21 (line 1918 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/editors/xemacs21 (line 1209 of
/usr/ports/infrastructure/mk/bsd.port.mk).
The patch below got the no_x11 flavor working for me.
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/xemacs21/Makefile,v
retrieving revision 1.28
diff -d -u -r1.28 Makefile
--- Makefile 9 Feb 2005 03:48:43 -0000 1.28
+++ Makefile 13 Aug 2005 20:31:38 -0000
@@ -14,7 +14,7 @@
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= ICE SM X11 Xaw Xext Xmu Xpm Xt c m ncurses util z
+WANTLIB= c m ncurses util z
# where the source files and patches can be fetched
MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.4/ \
@@ -113,6 +113,8 @@
### X11-dependent flavors
USE_X11= Yes
+
+WANTLIB+= ICE SM X11 Xaw Xext Xmu Xpm Xt
CONFIGURE_ARGS+= --with-menubars=lucid
--
Jeremy