openbsd-ports/print/py-cups/patches/patch-Makefile
2010-08-01 11:59:18 +00:00

22 lines
548 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2010/08/01 11:59:18 ajacoutot Exp $
--- Makefile.orig Tue May 18 14:19:13 2010
+++ Makefile Sun Aug 1 13:46:34 2010
@@ -9,7 +9,7 @@ DIST=Makefile test.py \
COPYING NEWS README TODO ChangeLog
cups.so: $(SOURCES)
- python setup.py build
+ ${PYTHON} setup.py build
mv build/lib*/$@ .
doc: cups.so
@@ -29,7 +29,7 @@ dist:
install:
ROOT= ; \
if [ -n "$$DESTDIR" ]; then ROOT="--root $$DESTDIR"; fi; \
- python setup.py install $$ROOT
+ ${PYTHON} setup.py install $$ROOT
.PHONY: doc clean dist install