File pythondir.patch of Package nlopt

Index: nlopt-2.3/swig/Makefile.in
===================================================================
--- nlopt-2.3.orig/swig/Makefile.in
+++ nlopt-2.3/swig/Makefile.in
@@ -492,12 +492,12 @@ install-pythonPYTHON: $(python_PYTHON)
 	done; \
 	for file in $$list2; do echo $$file; done | $(am__base_list) | \
 	while read files; do \
-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pythondir)'"; \
-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pythondir)" || exit $$?; \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pyexecdir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pyexecdir)" || exit $$?; \
 	done || exit $$?; \
 	if test -n "$$dlist"; then \
 	  $(am__py_compile) --destdir "$(DESTDIR)" \
-	                    --basedir "$(pythondir)" $$dlist; \
+	                    --basedir "$(pyexecdir)" $$dlist; \
 	else :; fi
 
 uninstall-pythonPYTHON:
openSUSE Build Service is sponsored by