aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-11 19:01:58 +0800
committerrafan <rafan@FreeBSD.org>2006-12-11 19:01:58 +0800
commit11282629caff7b32da1dcf24323233ba2abc3e33 (patch)
treec837accb77b4740d5ea966cfbf359f16f29e80b8
parentff2b13401300c8c37b614664c79043185035a905 (diff)
downloadfreebsd-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/Makefile5
-rw-r--r--math/octave-forge/Makefile4
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>