diff -aur stfl-0.18-orig/python/Makefile.snippet stfl-0.18/python/Makefile.snippet --- stfl-0.18-orig/python/Makefile.snippet 2007-09-03 12:13:04.000000000 -0400 +++ stfl-0.18/python/Makefile.snippet 2008-06-22 13:13:13.000000000 -0400 @@ -33,7 +33,8 @@ install_python: python/_stfl.so python/stfl.py python/stfl.pyc mkdir -p $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/lib-dynload/ - cp python/_stfl.so $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/lib-dynload/ + mkdir -p $(DESTDIR)$(prefix)/$(LIBDIR)/python$(PYTHON_VERSION)/lib-dynload/ + cp python/_stfl.so $(DESTDIR)$(prefix)/$(LIBDIR)/python$(PYTHON_VERSION)/lib-dynload/ cp python/stfl.pyc $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/ cp python/stfl.py $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/ diff -aur stfl-0.18-orig/ruby/Makefile.snippet stfl-0.18/ruby/Makefile.snippet --- stfl-0.18-orig/ruby/Makefile.snippet 2007-09-03 12:13:04.000000000 -0400 +++ stfl-0.18/ruby/Makefile.snippet 2008-06-22 13:15:16.000000000 -0400 @@ -25,9 +25,9 @@ ruby/build_ok: libstfl.a stfl.h ruby/stfl.i swig/*.i cd ruby && swig -ruby stfl.i && ruby extconf.rb - $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.a -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/lib/ruby + $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.a -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/$(LIBDIR)/ruby touch ruby/build_ok install_ruby: ruby/build_ok - $(MAKE) -C ruby DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir='$(DESTDIR)$(prefix)/lib/ruby' install + $(MAKE) -C ruby DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir='$(DESTDIR)$(prefix)/$(LIBDIR)/ruby' install