2006-09-30 02:23:58 -04:00
|
|
|
$OpenBSD: patch-Makefile_in,v 1.5 2006/09/30 06:23:58 steven Exp $
|
|
|
|
--- Makefile.in.orig Sat Jul 15 01:24:31 2006
|
|
|
|
+++ Makefile.in Sat Jul 15 01:28:07 2006
|
2005-07-04 18:22:00 -04:00
|
|
|
@@ -66,8 +66,8 @@ swig_pl_libdir = @libdir@
|
|
|
|
swig_rb_libdir = @libdir@
|
2004-12-01 11:47:54 -05:00
|
|
|
|
|
|
|
### these possibly need further discussion
|
|
|
|
-swig_pydir = @libdir@/svn-python/libsvn
|
|
|
|
-swig_pydir_extra = @libdir@/svn-python/svn
|
|
|
|
+swig_pydir = @libdir@/python!!PYTHON_VER!!/site-packages/libsvn
|
|
|
|
+swig_pydir_extra = @libdir@/python!!PYTHON_VER!!/site-packages/svn
|
|
|
|
swig_pldir = @libdir@/svn-perl
|
2005-07-04 18:22:00 -04:00
|
|
|
swig_rbdir = $(SWIG_RB_SITE_ARCH_DIR)/svn/ext
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2006-09-30 02:23:58 -04:00
|
|
|
@@ -90,8 +90,8 @@ EXEEXT = @EXEEXT@
|
2004-12-01 11:47:54 -05:00
|
|
|
|
2006-01-27 05:20:56 -05:00
|
|
|
SHELL = @SHELL@
|
|
|
|
LIBTOOL = @SVN_LIBTOOL@
|
|
|
|
-LTFLAGS = @SVN_LT_CCTAG@ --silent
|
|
|
|
-LTCXXFLAGS = @SVN_LT_CXXTAG@ --silent
|
|
|
|
+LTFLAGS = @SVN_LT_CCTAG@
|
|
|
|
+LTCXXFLAGS = @SVN_LT_CXXTAG@
|
|
|
|
LT_LDFLAGS = @LT_LDFLAGS@
|
|
|
|
LT_NO_UNDEFINED = @LT_NO_UNDEFINED@
|
|
|
|
LT_CXX_LIBADD = @LT_CXX_LIBADD@
|
2006-09-30 02:23:58 -04:00
|
|
|
@@ -108,8 +108,8 @@ APACHE_LDFLAGS = @APACHE_LDFLAGS@
|
|
|
|
SWIG = @SWIG@
|
2006-04-15 06:27:38 -04:00
|
|
|
SWIG_PY_INCLUDES = @SWIG_PY_INCLUDES@ -I$(SWIG_SRC_DIR)/python/libsvn_swig_py
|
|
|
|
SWIG_PY_COMPILE = @SWIG_PY_COMPILE@
|
|
|
|
-SWIG_PY_LINK = @SWIG_PY_LINK@
|
|
|
|
-SWIG_PY_LIBS = @SWIG_PY_LIBS@
|
|
|
|
+SWIG_PY_LINK = @SWIG_PY_LINK@ -L@libdir@
|
|
|
|
+SWIG_PY_LIBS = -lpython!!PYTHON_VER!!
|
|
|
|
SWIG_PL_INCLUDES = @SWIG_PL_INCLUDES@
|
|
|
|
SWIG_RB_INCLUDES = @SWIG_RB_INCLUDES@ -I$(SWIG_SRC_DIR)/ruby/libsvn_swig_ruby
|
|
|
|
SWIG_RB_COMPILE = @SWIG_RB_COMPILE@
|
2006-09-30 02:23:58 -04:00
|
|
|
@@ -196,19 +196,14 @@ INSTALL_JAVAHL_LIB = $(INSTALL_LIB)
|
|
|
|
|
|
|
|
# additional installation rules for the SWIG wrappers
|
|
|
|
INSTALL_EXTRA_SWIG_PY=\
|
|
|
|
- $(MKDIR) $(DESTDIR)$(swig_pydir); \
|
|
|
|
- $(MKDIR) $(DESTDIR)$(swig_pydir_extra); \
|
|
|
|
+ $(INSTALL) -d $(DESTDIR)$(swig_pydir); \
|
|
|
|
+ $(INSTALL) -d $(DESTDIR)$(swig_pydir_extra); \
|
|
|
|
for i in $(abs_srcdir)/subversion/bindings/swig/python/svn/*.py; do \
|
|
|
|
$(INSTALL_DATA) "$$i" $(DESTDIR)$(swig_pydir_extra); \
|
|
|
|
done; \
|
|
|
|
for i in $(abs_srcdir)/subversion/bindings/swig/python/*.py; do \
|
|
|
|
$(INSTALL_DATA) "$$i" $(DESTDIR)$(swig_pydir); \
|
|
|
|
done; \
|
|
|
|
- if test "$(abs_srcdir)" != "$(abs_builddir)"; then \
|
|
|
|
- for i in $(abs_builddir)/subversion/bindings/swig/python/*.py; do \
|
|
|
|
- $(INSTALL_DATA) "$$i" $(DESTDIR)$(swig_pydir); \
|
|
|
|
- done; \
|
|
|
|
- fi; \
|
|
|
|
$(PYTHON) -c 'import compileall; \
|
|
|
|
compileall.compile_dir("$(DESTDIR)$(swig_pydir)", 1, "$(swig_pydir)"); \
|
|
|
|
compileall.compile_dir("$(DESTDIR)$(swig_pydir_extra)", 1, \
|