Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/devel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5085
Added Files:
xerces-c23.patch xerces-c23.info
Log Message:
Verified that this still needs Xerces 2.3, tracker item: 960441
--- NEW FILE: xerces-c23.patch ---
diff -ur xerces-c-src_2_3_0-orig/samples/runConfigure
xerces-c-src_2_3_0/samples/runConfigure
--- xerces-c-src_2_3_0-orig/samples/runConfigure 2003-05-27 10:04:37.000000000
-0500
+++ xerces-c-src_2_3_0/samples/runConfigure 2004-06-24 09:14:55.000000000 -0500
@@ -119,9 +119,9 @@
# Check the command line parameters
if test -x /usr/bin/getopt; then
-getoptErr=`getopt p:c:x:dr:b:l:z:h $*`
+getoptErr=`getopt p:c:x:dr:b:l:z:C:h $*`
else
-getoptErr=`getopts p:c:x:dr:b:l:z:h `$*``
+getoptErr=`getopts p:c:x:dr:b:l:z:C:h `$*``
fi
if [ $? != 0 ]
then
@@ -131,9 +131,9 @@
# Now get the command line parameters
if test -x /usr/bin/getopt; then
-set -- `getopt p:c:x:dr:b:l:z:h $*`
+set -- `getopt p:c:x:dr:b:l:z:C:h $*`
else
-set -- `getopts p:c:x:dr:b:l:z:h `$*``
+set -- `getopts p:c:x:dr:b:l:z:C:h `$*``
fi
# Set up the default values for each parameter
@@ -141,6 +141,8 @@
transcoder=native # by default use native transcoder
thread=none # by default no need to have threads
bitsToBuild=32 # by default 32 bit build assumed
+configureoptions=""
+
while [ $# -gt 0 ]
do
case $1 in
@@ -169,6 +171,9 @@
-l)
linkeroptions="$linkeroptions $2"; shift 2;;
+ -C)
+ configureoptions="$configureoptions $2"; shift 2;;
+
-h)
usage
exit ${ERROR_EXIT_CODE};;
@@ -191,6 +196,7 @@
echo "bitsToBuild option: $bitsToBuild"
echo "Extra compile options: $compileroptions"
echo "Extra link options: $linkeroptions"
+echo "Extra configure options: $configureoptions"
#
# Now check if the options are correct or not, bail out if incorrect
@@ -466,11 +472,11 @@
rm -f config.log
rm -f config.status
if test $platform = "os400"; then
-./configure --host AS400-OS400
+./configure --host AS400-OS400 $configureoptions
elif test $platform = "ptx"; then
-./configure --prefix=$XMLINSTALL
+./configure --prefix=$XMLINSTALL $configureoptions
else
-./configure
+./configure $configureoptions
fi
# exit if configure failed
if test $? != 0; then
@@ -488,7 +494,7 @@
echo export CFLAGS=\"$CFLAGS\"
echo export LDFLAGS=\"$LDFLAGS\"
echo export EXTRA_LIBS=\"$EXTRA_LIBS\"
-echo configure
+echo configure $configureoptions
echo
echo If the result of the above commands look OK to you, go to the directory
--- NEW FILE: xerces-c23.info ---
Package: xerces-c23
Version: 2.3.0
Revision: 1
Maintainer: Chris Dolan <[EMAIL PROTECTED]>
Source:
http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_3_0/xerces-c-src_2_3_0.tar.gz
Source-MD5: 5167dca8942dd2dd719fa5a8ebe0c18b
SourceDirectory: xerces-c-src_2_3_0
Depends: xerces-c23-shlibs (= %v-%r)
Patch: %n.patch
CompileScript: <<
#!/bin/sh
export XERCESCROOT=%b
cd src/xercesc
./runConfigure -p macosx -C "%c"
make LD_SONAME="-install_name %p/lib/libxerces-c.23.dylib -compatibility_version
2.3.0 -current_version 2.3.0"
cd ../../samples
./runConfigure -p macosx -C "%c"
make
<<
InstallScript: <<
#!/bin/sh
export XERCESCROOT=%b
echo Install samples
mkdir -p %d/%p/bin
cp -fp
bin/{CreateDOMDocument,EnumVal,Redirect,SAXCount,StdInParse,DOMCount,MemParse,SAX2Count,SAXPrint,DOMPrint,PParse,SAX2Print,SEnumVal}
%d/%p/bin
cd src/xercesc
echo Install config.status
mkdir -p %d/%p/share/%n-dev
cp -fp config.status %d/%p/share/%n-dev
echo make install
make install DESTDIR=%d
<<
DocFiles: LICENSE*
SplitOff: <<
Package: xerces-c23-shlibs
Files: lib/libxerces-c.23.0.dylib
Shlibs: <<
%p/lib/libxerces-c.23.dylib 2.3.0 %n (>= 2.3.0-1)
<<
DocFiles: LICENSE*
<<
SplitOff2: <<
Package: xerces-c23-dev
BuildDependsOnly: True
Depends: xerces-c23-shlibs
Files: lib/libxerces-c.23.dylib lib/libxerces-c.dylib include share/%n
DocFiles: LICENSE*
<<
Description: XML parser in C++
DescDetail: <<
Xerces-C is a validating XML parser written in C++. Xerces-C
conforms with the XML-1.0 W3C recommendation.
<<
DescPackaging: <<
The extensive documentation is not included. It should be built
into a separate package, like is done for xerces-j-docs.
The main package contains the sample applications, installed in bin.
This package is versioned to synchronize with a version of the
XML::Xerces Perl module, which often lags behind the main Xerces-C
release.
When a Fink XML::Xerces package is built, it should set the
following envvars:
XERCESCROOT=%%p
XERCES_CONFIG=%%p/share/%n-dev/config.status
<<
DescPort: <<
Patched samples/runConfigure to support a -C flag just like
src/xercesc/runConfigure
<<
License: BSD
Homepage: http://xml.apache.org/xerces-c/index.html
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits