Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 19:47:27 -0700 (PDT)
From:      Hye-Shik Chang <perky@python.or.kr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/28827: Fix port: graphics/py-paint
Message-ID:  <200107090247.f692lR037582@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         28827
>Category:       ports
>Synopsis:       Fix port: graphics/py-paint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 19:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD-4.3
>Organization:
Yonsei University
>Environment:
FreeBSD perky.dnip.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Jul  9 11:05:10 KST 2001     root@perky.dnip.net:/usr/src/sys/compile/PERKY  i386
>Description:
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.

>How-To-Repeat:

>Fix:
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

-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

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107090247.f692lR037582>