diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-28 06:03:36 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-28 06:03:36 +0800 |
commit | 5279dc8870c46bd8e6d2b70c99e010564c2de41b (patch) | |
tree | 86a21565be73c84e5d5bb50a35bcd66146d555a0 | |
parent | 97559d1e124c97300b067c057e22d55b11ba1715 (diff) | |
download | freebsd-ports-gnome-5279dc8870c46bd8e6d2b70c99e010564c2de41b.tar.gz freebsd-ports-gnome-5279dc8870c46bd8e6d2b70c99e010564c2de41b.tar.zst freebsd-ports-gnome-5279dc8870c46bd8e6d2b70c99e010564c2de41b.zip |
- Respect X11BASE
PR: ports/105907
Submitted by: trasz
-rw-r--r-- | x11-toolkits/py-fox/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/py-fox/files/patch-setup | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/x11-toolkits/py-fox/Makefile b/x11-toolkits/py-fox/Makefile index 85169578b3ab..8e8ffd95b7f0 100644 --- a/x11-toolkits/py-fox/Makefile +++ b/x11-toolkits/py-fox/Makefile @@ -26,6 +26,9 @@ WRKSRC= ${WRKDIR}/FXPy-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +post-patch: + ${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/setup.py + do-install: @(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} install ${PYDISTUTILS_INSTALLARGS}) .if !defined(NOPORTDOCS) diff --git a/x11-toolkits/py-fox/files/patch-setup b/x11-toolkits/py-fox/files/patch-setup index 0539958d9409..fb2d40fe3576 100644 --- a/x11-toolkits/py-fox/files/patch-setup +++ b/x11-toolkits/py-fox/files/patch-setup @@ -1,13 +1,14 @@ --- setup.py.orig Wed Apr 3 00:29:06 2002 -+++ setup.py Tue Apr 6 11:53:15 2004 ++++ setup.py Mon Nov 27 10:32:24 2006 @@ -13,8 +13,10 @@ # Location of X libraries if sys.platform == 'win32': XLIBDIR = [] + XLIBINC = [] else: - XLIBDIR = ['/usr/X11R6/lib'] -+ XLIBINC = ['/usr/X11R6/include'] +- XLIBDIR = ['/usr/X11R6/lib'] ++ XLIBDIR = ['%%X11BASE%%/lib'] ++ XLIBINC = ['%%X11BASE%%/include'] # Other libraries OLIBDIRS = ['c:\cygwin\usr\local\lib'] |