aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-08-11 20:49:16 +0800
committerthierry <thierry@FreeBSD.org>2006-08-11 20:49:16 +0800
commit461b923615b7dd2b6761a08a3d1a52485ea705e3 (patch)
tree049701d9bb44aca02e65351f7870ed378dae3218 /net
parent31b2b821ff2a3a79f2075b11471dbe35547ff399 (diff)
downloadfreebsd-ports-gnome-461b923615b7dd2b6761a08a3d1a52485ea705e3.tar.gz
freebsd-ports-gnome-461b923615b7dd2b6761a08a3d1a52485ea705e3.tar.zst
freebsd-ports-gnome-461b923615b7dd2b6761a08a3d1a52485ea705e3.zip
- TotalView is currently not built on 64 bits platforms => prune its
directory; - Set USE_LDCONFIG. Reported by: pointyhat via Kris
Diffstat (limited to 'net')
-rw-r--r--net/lam7/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/lam7/Makefile b/net/lam7/Makefile
index 3fe3034482bd..3f548a47a34d 100644
--- a/net/lam7/Makefile
+++ b/net/lam7/Makefile
@@ -20,6 +20,7 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-rsh=ssh
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_LDCONFIG= yes
CONFLICTS= lam-6.*
@@ -383,6 +384,8 @@ RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.if ${ARCH} == "i386"
PLIST_SUB= I386=""
.else
+# Note: to enable TotalView on 64 bits platforms,
+# --enable-tv-dll-force should be added to CONFIGURE_ARGS
PLIST_SUB= I386="@comment "
.endif
@@ -390,6 +393,11 @@ pre-configure:
@${REINPLACE_CMD} -E -e 's|/usr/bin/env perl|${PERL} -w| ; \
s|use warnings;||' ${WRKSRC}/tools/mpiexec/mpiexec
+post-install:
+.if ${ARCH} != "i386"
+ ${RMDIR} ${PREFIX}/lib/lam
+.endif
+
.if defined(MAINTAINER_MODE)
regression-test: install
(cd ${BUILD_WRKSRC}/examples; \