Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: redo of 16845



On Mon, Mar 01, 2004 at 11:31:02AM +0100, Oliver Kiddle wrote:
> Should we perhaps pull the pcre module from 4.2.0 then? Though having
> zsh linked against a library in /usr won't affect most users, it'll be
> bad for anyone who is affected.

Right.  JFYI: I build zsh-4.2.0-pre-2 RPM package like this:

%build
# Explicitely disable libnsl/NIS support.
export ac_cv_search_yp_all=no zsh_cv_sys_nis=no zsh_cv_sys_nis_plus=no

# YODL is not required, pre-generated man pages are shipped.
export YODL=false

%configure \
	--enable-etcdir=%_sysconfdir \
	--enable-fndir=%_datadir/%name/functions \
	--enable-site-fndir=/usr/local/%name/site-functions \
	--enable-function-subdirs \
	--enable-maildir-support \
	--with-curses-terminfo \
	--enable-pcre \
	%{?_enable_debug: --enable-zsh-{,mem-,hash-}debug }

# Eliminate pcre deps for a while.
LIBS=`%__perl -ne 'print if s/^LIBS *=// && s/-lpcre//' Makefile`
[ -n "$LIBS" ]

# SMP-incompatible.
%make MODDIR=%_libdir LIBS="$LIBS"

# Restore pcre deps.
cd Src/Modules/
%__rm -fv pcre.so
%make MODDIR=%_libdir
cd ../..

# XXX `make test' is always successful.
%make test


-- 
Alexey Tourbin
ALT Linux Team

Attachment: pgpckMv06n5da.pgp
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author