From 24b97b1b54a46d595138709fc3962032a177308d Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sun, 10 Dec 2006 11:05:42 +0000 Subject: Respect $X11BASE. PR: 105844 Approved by: maintainer's time-out --- net/mpich/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net/mpich/Makefile') 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 \ -- cgit v1.2.3