1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 11:40:31 -04:00
ports/graphics/py-sane/files/patch-setup.py
Pawel Pekala 746d51c0d4 Add py-sane 2.0, the Python binding for Sane.
PR:		ports/159544
Submitted by:	Kuan-Chung Chiu <buganini@gmail.com>
Approved by:	miwi, wen (mentors implicit)
2011-09-30 20:36:56 +00:00

19 lines
689 B
Python

--- setup.py.orig 2009-11-01 08:44:12.000000000 +0800
+++ setup.py 2011-08-05 16:18:06.000000000 +0800
@@ -11,13 +11,13 @@
pass
sane = Extension('_sane',
- include_dirs = [PIL_IMAGING_DIR],
+ include_dirs = [PIL_IMAGING_DIR, '/usr/local/include'],
libraries = ['sane'],
- library_dirs = [PIL_IMAGING_DIR],
+ library_dirs = [PIL_IMAGING_DIR, '/usr/local/lib'],
define_macros = defs,
sources = ['_sane.c'])
-setup (name = 'pysane',
+setup (name = 'sane',
version = '2.0',
description = 'This is the pysane package',
py_modules = ['sane'],