summaryrefslogtreecommitdiff
path: root/x11/wxGTK28/patches/manual-regen.diff
blob: 4f94a495ee3398db14dd604dd423ef72230a33eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
To regenerate the patch, get the full wxWidgets tarball, copy build/bakefiles
and the various *.bkl files into the wxGTK tree and run
	./bakefile_gen -f autoconf
in build/bakefiles. manual-bakefile.diff contains the necessary patch for
the bakefile ruleset to use libtool.

--- build/bakefiles/regex.bkl.orig	2008-06-20 11:07:14.000000000 +0200
+++ build/bakefiles/regex.bkl	2008-09-08 19:55:08.000000000 +0200
@@ -27,16 +27,13 @@
         <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
     </set>
 
-    <lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
+    <dll id="wxregex" template="msvc_setup_h,anylib"
          cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
-        <libname cond="FORMAT=='autoconf'">
-            $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
-        </libname>
-        <libname cond="FORMAT!='autoconf'">
-            $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
-        </libname>
-        <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
-        <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
+        <dllname>
+            $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)
+	</dllname>
+        <version>$(WX_VERSION)</version>
+        <so_version>$(WXSOVERSION)</so_version>
         <define>__WX$(TOOLKIT)__</define>
         <define>$(WXUNIV_DEFINE)</define>
         <define>$(UNICODE_DEFINE)</define>
@@ -49,6 +46,6 @@
             src/regex/regerror.c
             src/regex/regfree.c
         </sources>
-    </lib>
+    </dll>
 
 </makefile>
--- build/bakefiles/wx.bkl.orig	2008-06-20 11:07:14.000000000 +0200
+++ build/bakefiles/wx.bkl	2008-09-08 19:55:08.000000000 +0200
@@ -96,7 +96,7 @@
             <command>
                 $(INSTALL_DIR) $(DESTDIR)$(BINDIR)
                 $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)/wx/config
-                $(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config
+                ${BSD_INSTALL_SCRIPT} lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config
                 (cd $(DESTDIR)$(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) $(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
             </command>
         </action>