SPECS: xalan-c.spec - try something, still total failure

glen glen at pld-linux.org
Tue Jan 16 01:12:47 CET 2007


Author: glen                         Date: Tue Jan 16 00:12:47 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- try something, still total failure

---- Files affected:
SPECS:
   xalan-c.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/xalan-c.spec
diff -u SPECS/xalan-c.spec:1.18 SPECS/xalan-c.spec:1.19
--- SPECS/xalan-c.spec:1.18	Mon Jan 15 23:34:40 2007
+++ SPECS/xalan-c.spec	Tue Jan 16 01:12:42 2007
@@ -53,8 +53,15 @@
 %patch0 -p1
 # Binaries provided with sources.
 rm -rf c/{bin,lib}/*
+
 # We don't need it, so why waste space?
-rm -rf ../xerces-c1_5_1-linux
+# XXX removing files outside our build root!?
+#rm -r ../xerces-c1_5_1-linux
+
+# for gcc on ac
+sed -i -e 's/-instances=static//' c/src/Makefile.in
+# add xerces includes
+sed -i -e 's,^XSL_INCL =.*,& -I/usr/include/xercesc/sax' c/src/Makefile.in
 
 %build
 cd c/src
@@ -67,9 +74,26 @@
 #autoconf
 #CPPFLAGS="-Iinclude"
 #export CPPFLAGS
-chmod 755 runConfigure
-./runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative
-%{__make} XERCES_VER=`rpm -q xerces-c --qf '%%{version}' | tr . _`
+#chmod 755 runConfigure
+#./runConfigure \
+#	-plinux \
+#	-c"%{__cc}" \
+#	-x"%{__cxx}" \
+#	-minmem # gone\
+#	-nfileonly # gone\
+#	-tnative # gone
+
+
+%{__make} \
+	LIBS="-lpthread" \
+	LDFLAGS="%{rpmcflags}" \
+	CXXFLAGS="%{rpmcxxflags}" \
+	CPPFLAGS=/usr/include/xercesc/sax \
+	CC="%{__cc}" \
+	CXX="%{__cxx}" \
+	ICUROOT=/usr \
+	XALAN_USE_ICU=1 \
+	XERCES_VER=%(rpm -q xerces-c --qf '%%{version}' | tr . _)
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -109,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2007/01/16 00:12:42  glen
+- try something, still total failure
+
 Revision 1.18  2007/01/15 22:34:40  glen
 - icu not used
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xalan-c.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list