$NetBSD: manual-bakefile.diff,v 1.2 2009/03/23 00:38:55 joerg Exp $ --- rules/autoconf.bkl.orig 2008-09-20 19:58:53.000000000 +0000 +++ rules/autoconf.bkl @@ -199,67 +199,19 @@ $(__linkname) - - - $(DLLEXT).$(__soversion1) - - - .$(__soversion1)$(DLLEXT) - - $(DLLEXT) - + $(DLLEXT) $(DLLPREFIX)$(__dllname)$(__targetsuf2) - - - $(DLLEXT).$(__soversion1).$(__soversion2).$(__soversion3) - - - .$(__soversion1).$(__soversion2).$(__soversion3)$(DLLEXT) - - - -$(__soversion1)$(DLLEXT) - - $(DLLEXT) - + $(DLLEXT) $(DLLPREFIX)$(__dllname)$(__targetsuf3) - - - $(SONAME_FLAG)$(__linkname2) - - - $(SONAME_FLAG)$(__targetname) - - + -version-number $(__soversion1):$(__soversion2):$(__soversion3) $(__soname_flags) - - - (cd $(pathPrefixToPath(__targetdir)); - $(RM) $(__linkname1) $(__linkname2); - $(LN_S) $(__targetname) $(__linkname2); - $(LN_S) $(__linkname2) $(__linkname1)) - - - - - $(RM) $(__linkname1) $(__linkname2); - $(LN_S) $(__targetname) $(__linkname2); - $(LN_S) $(__linkname2) $(__linkname1) - - - - - $(RM) $(__linkname2) $(__linkname1) - - - <__command>$(LF)$(__so_symlinks_cmd) - $(__linkname2) @@ -282,12 +234,6 @@ $(ifthenelse(__mac_instname=='',ref('__targetname',id),ref('__mac_instname',id))) - - - -install_name $(value)/$(__macinstname) - - - $(__macinstnamecmd) (cd $(DESTDIR)$(value) ; $(ref('__so_symlinks_inst_cmd',id))) $NetBSD: manual-bakefile.diff,v 1.2 2009/03/23 00:38:55 joerg Exp $ --- rules/makefile.bkl.orig 2008-09-20 19:58:53.000000000 +0000 +++ rules/makefile.bkl @@ -749,7 +749,7 @@ - $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) + ${LIBTOOL} --mode=install $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) @@ -762,8 +762,7 @@ - $(INSTALL_DATA) $(ref('__targetdir',id))$(ref('__linkname',id)) $(DESTDIR)$(nativePaths(value)) - $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) + ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) @@ -777,7 +776,7 @@ - $(INSTALL_PROGRAM) $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) + ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $(ref('__targetdir',id))$(ref('__targetname',id)) $(DESTDIR)$(nativePaths(value)) $NetBSD: manual-bakefile.diff,v 1.2 2009/03/23 00:38:55 joerg Exp $ --- rules/makefile_defs_gnu.bkl.orig 2008-09-20 19:58:53.000000000 +0000 +++ rules/makefile_defs_gnu.bkl @@ -62,12 +62,12 @@ $NetBSD: manual-bakefile.diff,v 1.2 2009/03/23 00:38:55 joerg Exp $ --- rules/makefile_defs_unix.bkl.orig 2008-09-20 19:58:53.000000000 +0000 +++ rules/makefile_defs_unix.bkl @@ -39,22 +39,23 @@ / - .o + ${LIBTOOL} + .lo .a lib - .so + .la $(DLLEXT) $(DLLEXT) $(LIBPREFIX) $(DLLPREFIX) - -fPIC -DPIC + rm -f - install -c - $(INSTALL) -m 644 - $(INSTALL) -d + ${BSD_INSTALL_PROGRAM} + ${BSD_INSTALL_DATA} + ${BSD_INSTALL_DATA_DIR} $(RM) $(RM) @@ -122,12 +123,12 @@ @@ -154,18 +155,16 @@ - $(__linker) -o $@ $(__objects_var) $(__ldargs) + $(LIBTOOL) --mode=link --tag=CC $(__linker) -o $@ $(__objects_var) $(__ldargs) - $(RM) $@ - $(AR) $(AROPTIONS) $@ $(__objects_var) - $(RANLIB) $@ + $(LIBTOOL) --mode=link --tag=CC $(__linker) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) - $(__dll_linker) $@ $(__objects_var) $(__ldargs) + $(LIBTOOL) --mode=link --tag=CC $(__linker) -rpath $(libdir) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) - $(__module_linker) $@ $(__objects_var) $(__ldargs) + $(LIBTOOL) --mode=link --tag=CC $(__linker) -rpath $(libdir) -o $@ $(__objects_var) $(__ldflags) $(__ldlibs) $NetBSD: manual-bakefile.diff,v 1.2 2009/03/23 00:38:55 joerg Exp $ --- src/bkl_c_wrap.c.orig 2008-10-20 17:41:13.000000000 +0000 +++ src/bkl_c_wrap.c @@ -2600,6 +2600,14 @@ SWIG_FromCharPtr(const char *cptr) return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); } +const char *doEvalExpr(const char *expr, + PyObject *varCallb, + PyObject *textCallb, + PyObject *moreArgs, + PyObject *use_options, + PyObject *target, + PyObject *add_dict); + #ifdef __cplusplus extern "C" { #endif @@ -2649,6 +2657,7 @@ fail: return NULL; } +PyObject *proxydict_create(void); SWIGINTERN PyObject *_wrap_proxydict_create(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0;