Update of /cvsroot/mahogany/M/redhat
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23041/redhat
Modified Files:
M.spec
Log Message:
test for static libwx existence before starting to build (bug 873)
Index: M.spec
===================================================================
RCS file: /cvsroot/mahogany/M/redhat/M.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -b -u -2 -r1.33 -r1.34
--- M.spec 20 Jun 2004 22:52:03 -0000 1.33
+++ M.spec 9 Jul 2004 12:50:14 -0000 1.34
@@ -61,4 +61,16 @@
./configure --prefix=$RPM_BUILD_ROOT/%{prefix} $CONFIG_FLAGS
+if [ "x%{MAKETARGET}" = "xquartstatic" ]; then
+ # be nice and check for existence of static library before starting to build
+ # (see bug http://zeitlin.homeunix.com/cgi-bin/mbugs/show_bug.cgi?id=873)
+ libwx=$($(echo @WX_CONFIG_PATH@ | sed `grep WX_CONFIG_PATH config.status`) \
+ --static --libs | \
+ sed '[EMAIL PROTECTED] \(/.*/libwx_based-[0-9.]\+.a\) [EMAIL
PROTECTED]@')
+ if [ ! -f $libwx ]; then
+ echo "You need to build static wxWindows library $libwx first!"
+ exit 1
+ fi
+fi
+
# we have to fix M_PREFIX in config.h because the package will be later
# installed in just %prefix, so fallback paths hardcoded into the binary
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates