diff options
author | rafan <rafan@FreeBSD.org> | 2006-12-11 19:01:58 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-12-11 19:01:58 +0800 |
commit | 11282629caff7b32da1dcf24323233ba2abc3e33 (patch) | |
tree | c837accb77b4740d5ea966cfbf359f16f29e80b8 | |
parent | ff2b13401300c8c37b614664c79043185035a905 (diff) | |
download | freebsd-ports-gnome-11282629caff7b32da1dcf24323233ba2abc3e33.tar.gz freebsd-ports-gnome-11282629caff7b32da1dcf24323233ba2abc3e33.tar.zst freebsd-ports-gnome-11282629caff7b32da1dcf24323233ba2abc3e33.zip |
- Respect X11BASE
Reported by: pointyhat
Approved by: portmgr (linimon)
-rw-r--r-- | lang/hugs/Makefile | 5 | ||||
-rw-r--r-- | math/octave-forge/Makefile | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 7e65ed9eb697..9b5a034c088c 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -59,6 +59,11 @@ post-patch: @${REINPLACE_CMD} -e '/^install :: install_notes/d ; \ /^install :: install_guide/d' \ ${WRKSRC}/src/MkInstal.in + @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \ + ${WRKSRC}/packages/OpenGL/configure \ + ${WRKSRC}/packages/GLUT/configure \ + ${WRKSRC}/packages/X11/configure \ + ${WRKSRC}/packages/HGL/configure do-build: . for dir in src libraries docs diff --git a/math/octave-forge/Makefile b/math/octave-forge/Makefile index 4769848b8287..9953e37b0dbd 100644 --- a/math/octave-forge/Makefile +++ b/math/octave-forge/Makefile @@ -27,7 +27,9 @@ USE_GMAKE= yes GNU_CONFIGURE= yes ALL_TARGET= # empty CONFIGURE_ARGS= --with-cc=${CC} \ - --with-cxx=${CXX} + --with-cxx=${CXX} \ + --x-libraries=${X11BASE}/lib \ + --x-includes=${X11BASE}/include .include <bsd.port.pre.mk> |