aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-12-10 19:05:42 +0800
committerthierry <thierry@FreeBSD.org>2006-12-10 19:05:42 +0800
commit009ae2edcca87592f9460e19d669f0935f23f08b (patch)
tree125309a5ce060bef2db9b49f05cbe2e82a954aa9 /net
parent69293a247989a49e01272e6f8347bdc676a7e73e (diff)
downloadfreebsd-ports-gnome-009ae2edcca87592f9460e19d669f0935f23f08b.tar.gz
freebsd-ports-gnome-009ae2edcca87592f9460e19d669f0935f23f08b.tar.zst
freebsd-ports-gnome-009ae2edcca87592f9460e19d669f0935f23f08b.zip
Respect $X11BASE.
PR: 105844 Approved by: maintainer's time-out
Diffstat (limited to 'net')
-rw-r--r--net/mpich/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mpich/Makefile b/net/mpich/Makefile
index ceae3a92cb69..7d4078ce7a63 100644
--- a/net/mpich/Makefile
+++ b/net/mpich/Makefile
@@ -193,6 +193,11 @@ CONFIGURE_ENV+= RSHCOMMAND="${LOCALBASE}/bin/ssh"
.endif
.endif
+pre-configure:
+.for fic in mpe/configure mpe/src/Makefile.in
+ ${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/${fic}
+.endfor
+
post-install:
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/mpich/bin ${PREFIX}/mpich/lib
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/mpich/doc ${PREFIX}/mpich/include \