diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-12-09 20:56:44 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-12-09 20:56:44 +0000 |
commit | a1767758f3b3ec8205032c31a9b806f4f7782f39 (patch) | |
tree | b69ab59fe465429e65d01bc25296b2d9a018559e /devel/cmake | |
parent | Reset MAINTAINER - address is dead (diff) |
- Respect X11BASE in various module functions
This fixes build with non-standard X11BASE for math/vtk* and
possible others.
OKed by: arved
Approved by: portmgr (linimon)
Notes
Notes:
svn path=/head/; revision=179335
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index aec2cd4affa9..9e1cd0bf0682 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -23,4 +23,8 @@ CONFIGURE_ENV= MAKE=make MAN1= ccmake.1 cmake.1 ctest.1 +post-patch: + @${GREP} -rl '/usr/X11R6' ${WRKSRC}/Modules ${WRKSRC}/Tests | \ + ${XARGS} ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' + .include <bsd.port.mk> |