the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: tclxml
Version: 3.1
Revision: 1
Description: XML parsing routines for Tcl scripts
DescPort: <<
Some of the tests/tclxml.tcl tests fail, but this appears to be due to
syntax errors within the those scripts.
Make sure shared-library linker flags are passed to the linker.
<<
DescPackaging: <<
This compiles a shared library but places it in a private place and
uses it via dlopen-like pkgIndex.tcl mechanism, so considering it
private.
<<
Homepage: http://tclxml.sourceforge.net
License: OSI-Approved
Maintainer: Daniel Macks
Depends: tcltk (>= 8.4.1-1), tcllib (>= 1.2-1)
BuildDepends: tcltk-dev (>= 8.4.1-1), fink (>= 0.28-1)
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 35de63a4ceba7a6fdb85dd1a62f2e881
BuildConflicts: lclint
# lclint installs %p/lib/Makefile, which leads configure to believe
# it is using tcltk from tcltk's builddir, hence failure
PatchFile: %n.patch
PatchFile-MD5: dfa13d2a9817a0b07bbd4c44f396d390
ConfigureParams: --enable-shared --with-tcl=%p/lib
InstallScript: make install DESTDIR=%d
DocFiles: ANNOUNCE ChangeLog LICENSE README README.html RELNOTES
Shlibs: !%p/lib/Tclxml3.1/libTclxml3.1.dylib
SplitOff: <<
Package: %N-dev
Replaces: %N (<< 2.6-12)
BuildDependsOnly: true
Files: include lib/TclxmlConfig.sh lib/Tclxml3.1/libTclxmlstub3.1.a
DocFiles: ANNOUNCE ChangeLog LICENSE README README.html RELNOTES
<<
diff -Nurd -x'*~' tclxml-3.1.orig/Makefile.in tclxml-3.1/Makefile.in
--- tclxml-3.1.orig/Makefile.in 2005-05-20 08:02:01.000000000 -0400
+++ tclxml-3.1/Makefile.in 2008-08-28 00:27:48.000000000 -0400
@@ -123,6 +123,7 @@
pkgdatadir = $(datadir)/$(PKG_DIR)
pkglibdir = $(libdir)/$(PKG_DIR)
pkgincludedir = $(includedir)/$(PKG_DIR)
+LIB_RUNTIME_DIR = $(pkglibdir)
top_builddir = .
diff -Nurd -x'*~' tclxml-3.1.orig/configure tclxml-3.1/configure
--- tclxml-3.1.orig/configure 2005-11-04 01:26:33.000000000 -0500
+++ tclxml-3.1/configure 2008-08-28 00:29:17.000000000 -0400
@@ -4573,13 +4573,13 @@
Rhapsody-*|Darwin-*)
SHLIB_CFLAGS="-fno-common"
SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
- TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000"
+ TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\$@ -prebind -seg1addr 0xa000000"
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".dylib"
DL_OBJS="tclLoadDyld.o"
DL_LIBS=""
LDFLAGS="-prebind"
- LD_SEARCH_FLAGS=""
+ LD_SEARCH_FLAGS="${TCL_SHLIB_LD_EXTRAS}"
CFLAGS_OPTIMIZE="-O3"
EXTRA_CFLAGS="-arch ppc -pipe"
;;
@@ -5086,7 +5086,7 @@
- SHLIB_LDFLAGS='$(LDFLAGS_DEFAULT)'
+ SHLIB_LDFLAGS="\$(LDFLAGS_DEFAULT) ${LD_SEARCH_FLAGS}"