Date: Sat, 5 Nov 2005 18:31:21 GMT From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/88532: [MAINTAINER UPDATE] make graphics/py-soya3d respect non-standard LOCALBASE/X11BASE settings Message-ID: <200511051831.jA5IVL2P030819@www.freebsd.org> Resent-Message-ID: <200511051840.jA5IeFkL002802@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88532 >Category: ports >Synopsis: [MAINTAINER UPDATE] make graphics/py-soya3d respect non-standard LOCALBASE/X11BASE settings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 05 18:40:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jose Alonso Cardenas Marquez >Release: FreeBSD 6.0-STABLE i386 >Organization: BSDPeru (http://www.bsd.org.pe) >Environment: FreeBSD HellFire.BSD.org.pe 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov 4 16:03:07 PET 2005 root@HellFire.BSD.org.pe:/usr/obj/usr/src/sys/HellFire i386 >Description: This port does not respect non-standard LOCALBASE/X11BASE settings, which is a requirement that all FreeBSD ports should satisfy, patch solved problem. >How-To-Repeat: >Fix: --- py24-soya3d-0.10.1.patch begins here --- diff -ruN Makefile /Makefile --- Makefile Mon Oct 24 11:38:03 2005 +++ Makefile Sat Nov 5 13:16:42 2005 @@ -31,6 +31,7 @@ USE_PYDISTUTILS= yes USE_GL= yes USE_GMAKE= yes +USE_REINPLACE= yes MANDIR= ${WRKDIR}/${DISTNAME}/manpage/man1 MAN1= soya_editor.1 @@ -45,6 +46,12 @@ .if ${ARCH} == "amd64" BROKEN= "Does not compile in ${ARCH}" .endif + +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/setup.py post-install: @${INSTALL_DIR} ${EXAMPLESDIR} diff -ruN files/patch-setup.py files/patch-setup.py --- files/patch-setup.py Sat Oct 8 19:17:17 2005 +++ files/patch-setup.py Sat Nov 5 13:14:26 2005 @@ -1,5 +1,31 @@ ---- setup.py Wed Oct 5 00:05:48 2005 -+++ setup.py Wed Oct 5 02:47:23 2005 +--- setup.py Fri Aug 19 16:05:49 2005 ++++ setup.py Sat Nov 5 13:13:31 2005 +@@ -25,19 +25,19 @@ + INCDIR = [ + "ode-0.5/include", + "/usr/include", +- "/usr/local/include", +- "/usr/X11R6/include", ++ "%%LOCALBASE%%/include", ++ "%%X11BASE%%/include", + "/usr/include/freetype2", +- "/usr/local/include/freetype2", ++ "%%LOCALBASE%%/include/freetype2", + "/usr/include/cal3d", +- "/usr/local/include/cal3d", ++ "%%LOCALBASE%%/include/cal3d", + "/sw/include", # For Mac OS X + ] + LIBDIR = [ + "ode-0.5/lib", + "/usr/lib", +- "/usr/local/lib", +- "/usr/X11R6/lib", ++ "%%LOCALBASE%%/lib", ++ "%%X11BASE%%/lib", + "/sw/lib/", # For Mac OS X + ] + @@ -63,10 +63,10 @@ from config import * --- py24-soya3d-0.10.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511051831.jA5IVL2P030819>