ports/116840: [PATCH] graphics/py-imaging: allow building for multiple Python versions
Alejandro Pulver
alepulver at FreeBSD.org
Tue Oct 2 20:00:08 UTC 2007
>Number: 116840
>Category: ports
>Synopsis: [PATCH] graphics/py-imaging: allow building for multiple Python versions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 02 20:00:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alejandro Pulver
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
>Description:
This patch allows the port to be built for different Python versions, as most modules can do.
>How-To-Repeat:
>Fix:
--- py-imaging.diff begins here ---
Index: py-imaging/Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/py-imaging/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- py-imaging/Makefile 4 Aug 2007 11:40:56 -0000 1.30
+++ py-imaging/Makefile 30 Sep 2007 20:59:02 -0000
@@ -20,7 +20,7 @@
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
freetype.9:${PORTSDIR}/print/freetype2
-LATEST_LINK= py-${PORTNAME}
+UNIQUENAME= py-${PORTNAME}
DIST_SUBDIR= python
USE_PYTHON= yes
@@ -30,8 +30,8 @@
PORTDOCS= *
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS= TKINTER "Build with tkinter for X support" on
--- py-imaging.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list