File system-config-printer-python-prefix.patch of Package system-config-printer
diff -ur system-config-printer-1.0.7.old/pycups-1.9.42/Makefile system-config-printer-1.0.7/pycups-1.9.42/Makefile
--- system-config-printer-1.0.7.old/pycups-1.9.42/Makefile 2008-08-29 11:07:51.000000000 +0200
+++ system-config-printer-1.0.7/pycups-1.9.42/Makefile 2008-09-05 16:49:31.000000000 +0200
@@ -27,9 +27,11 @@
rm -rf $(NAME)-$(VERSION)
install:
+ INSTALLPREFIX= ; \
+ if [ -n "$$PREFIX" ]; then INSTALLPREFIX="--prefix $$PREFIX"; fi; \
ROOT= ; \
if [ -n "$$DESTDIR" ]; then ROOT="--root $$DESTDIR"; fi; \
- python setup.py install $$ROOT
+ python setup.py install $$ROOT $$INSTALLPREFIX
.PHONY: doc clean dist install
diff -ur system-config-printer-1.0.7.old/pysmbc-1.0.5/Makefile system-config-printer-1.0.7/pysmbc-1.0.5/Makefile
--- system-config-printer-1.0.7.old/pysmbc-1.0.5/Makefile 2008-08-29 11:33:35.000000000 +0200
+++ system-config-printer-1.0.7/pysmbc-1.0.5/Makefile 2008-09-05 16:49:51.000000000 +0200
@@ -26,9 +26,11 @@
rm -rf $(NAME)-$(VERSION) $(NAME)
install:
+ INSTALLPREFIX= ; \
+ if [ -n "$$PREFIX" ]; then INSTALLPREFIX="--prefix $$PREFIX"; fi; \
ROOT= ; \
if [ -n "$$DESTDIR" ]; then ROOT="--root $$DESTDIR"; fi; \
- python setup.py install $$ROOT
+ python setup.py install $$ROOT $$INSTALLPREFIX
.PHONY: doc clean dist install