Bug 28827

Summary: Fix port: graphics/py-paint
Product: Ports & Packages Reporter: perky <perky>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description perky 2001-07-09 03:50:01 UTC
Current py-paint port fails to build on machine which
have x11/gnomelibs without graphics/libart.
Because gnomelibs installs libart into X11BASE.
(libart is not for X, but gnomelibs installs into X11BASE.
 I think it must be moved to LOCALBASE or remove their own
 libart and make it to depend on graphics/libart port.)

After patching this, py-paint can use gnomelibs's libart.

Fix: 

-INC_DIRS=	["${LOCALBASE}/include","${LOCALBASE}/include/freetype"]
-LIB_DIRS=	["${LOCALBASE}/lib"]
+INC_DIRS=	["${LOCALBASE}/include","${X11BASE}/include","${LOCALBASE}/include/freetype"]
+LIB_DIRS=	["${LOCALBASE}/lib","${X11BASE}/lib"]
 REPATCH=	cd ${WRKSRC} && ${SED}
 REPATCHSUBST=	-e 's@^\(.*libraries.*\)$$@\1include_dirs=${INC_DIRS},library_dirs=${LIB_DIRS},@g'
 REPATCHFILES=	setup.py--Zz7fFnTYMtDEEwiUtiaLzxmjeygLeoxWlha3R8FnkfLJLxfb
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN py-paint.orig/Makefile py-paint/Makefile
--- py-paint.orig/Makefile	Mon Jul  9 01:47:10 2001
+++ py-paint/Makefile	Mon Jul  9 11:36:31 2001
@@ -25,8 +25,8 @@
 SHARE_SUBDIR=	${PKGNAMEPREFIX}${PORTNAME}
 PYDIST_SETUP=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
Comment 1 Kevin Lo freebsd_committer freebsd_triage 2001-07-09 04:07:52 UTC
State Changed
From-To: open->closed

Committed, thanks.