elinks stable port information

Package: elinks
Version: 0.11.7
Revision: 1
Description: Development version of Links text WWW browser
License: GPL
Maintainer: Daniel Macks
Conflicts: elinks-ssl (<< 0.11.2-2)
Replaces: elinks-ssl (<< 0.11.2-2)
Depends: <<
bzip2-shlibs,
expat1-shlibs,
libiconv,
libidn-shlibs,
x11
<<
BuildDepends: <<
bison (>= 2.0),
bzip2-dev,
expat1,
fink (>= 0.24.12-1),
gettext-tools,
libiconv-dev,
libidn,
system-openssl-dev,
x11-dev
<<
Source: http://elinks.or.cz/download/elinks-%v.tar.bz2
Source-MD5: fcd087a6d2415cd4c6fd1db53dceb646
PatchFile: %n.patch
PatchFile-MD5: f4dc2db3cf61dbfd9f9faa3a8710ebb5
PatchScript: <<
%{default_script}
# perl -pi -e 's/INCLUDES( \+= .*CFLAGS)/CPPFLAGS\1/' `find . -name Makefile`
<<
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams: --mandir=%p/share/man --without-gpm --without-lua --without-spidermonkey --disable-fsp --with-openssl=%p/lib/system-openssl
CompileScript: <<
ac_cv_path_ASCIIDOC= ac_cv_path_XMLTO= ac_cv_path_JW= ./configure %c
make V=1
<<
InstallScript: <<
make install DESTDIR=%d
rm -r %i/lib %i/share/locale/locale.alias
<<
DocFiles: AUTHORS BUGS COPYING ChangeLog NEWS README SITES THANKS TODO
SplitOff: <<
Package: %N-ssl
Depends: %N (= %v-%r), fink-obsolete-packages
Description: OBSOLETE use package 'elinks' instead
InstallScript: <<
mkdir -p %i/share/doc/installed-packages
touch %i/share/doc/installed-packages/%n
<<
<<
DescDetail: <<
Development version of Links (Lynx-like text WWW browser), with more
liberal features policy and development style.

This is the ELinks tree - intended to provide a feature-rich version
of Links. Its purpose is to provide an alternative to Links, and to
test and tune various new features, but still provide good rock-solid
releases inside stable branches.

As of 0.11.2-2, "elinks" has ssl support and "elinks-ssl" is deprecated.
<<
DescPort: <<
This pkg builds and uses its own highly- and fairly-undocumentedly-
hacked gettext libs, so make sure to see *that* gettext's headers
before any fink or system ones that may exist.

Fink has lua5 but elinks is written against lua4 so diable lua support.

Fix general CPPFLAGS handling. See:
http://linuxfromscratch.org/pipermail/elinks-users/2006-November/001354.html

-rdynamic test is documented to be fragile. It incorrectly passes for
us, so just skip it.
<<
DescPackaging: <<
Define V Makefile variable to display actual compiler commands instead
of high-level summary.

Not gonna bother fixing the .h checking issues that lead to "present
but cannot be compiled" noise for netinet/ip.h and net/if.h

Make sure the internal gettext doesn't install charset files.

Rebuilding the docs uses docbook-utils, which has elinks as a
potential dependency. Circularity! We already have docs in the
tarball, so force configure to avoid looking for those utility
packages.

spidermonkey is disabled due to inertia.
<<
Homepage: http://elinks.or.cz

elinks stable port .patch

diff -Nurd -x'*~' elinks-0.11.6.orig/Makefile.config.in elinks-0.11.6/Makefile.config.in
--- elinks-0.11.6.orig/Makefile.config.in 2009-03-21 08:31:54.000000000 -0400
+++ elinks-0.11.6/Makefile.config.in 2009-03-22 16:32:18.000000000 -0400
@@ -160,7 +160,7 @@
LIBS = @LIBS@


-INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src
+INCLUDES = -I$(top_builddir) -I$(top_srcdir)/src -I$(top_srcdir)/src/intl/gettext

COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)

diff -Nurd -x'*~' elinks-0.11.6.orig/configure elinks-0.11.6/configure
--- elinks-0.11.6.orig/configure 2009-03-21 08:50:25.000000000 -0400
+++ elinks-0.11.6/configure 2009-03-22 16:30:21.000000000 -0400
@@ -11479,6 +11479,7 @@
echo "${ECHO_T}$HAVE_VARIADIC_MACROS" >&6; }


+if false; then
{ echo "$as_me:$LINENO: checking for -rdynamic" >&5
echo $ECHO_N "checking for -rdynamic... $ECHO_C" >&6; }
LDFLAGS_X="$LDFLAGS"
@@ -11529,6 +11530,7 @@
test "$have_rdynamic" = no && LDFLAGS="$LDFLAGS_X"
{ echo "$as_me:$LINENO: result: $have_rdynamic" >&5
echo "${ECHO_T}$have_rdynamic" >&6; }
+fi



elinks _unstable_ port .patch