Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 09:45:18 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341826 - head/net/pvm
Message-ID:  <201401300945.s0U9jIiH068258@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Jan 30 09:45:17 2014
New Revision: 341826
URL: http://svnweb.freebsd.org/changeset/ports/341826
QAT: https://qat.redports.org/buildarchive/r341826/

Log:
  Fix symlinks.
  
  Submitted by:	az

Modified:
  head/net/pvm/Makefile

Modified: head/net/pvm/Makefile
==============================================================================
--- head/net/pvm/Makefile	Thu Jan 30 09:42:48 2014	(r341825)
+++ head/net/pvm/Makefile	Thu Jan 30 09:45:17 2014	(r341826)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pvm
 PORTVERSION=	3.4.6
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net parallel
 MASTER_SITES=	NL ftp://ftp.chg.ru/pub/prog/parallel/pvm3/
 MASTER_SITE_SUBDIR=	pvm3
@@ -22,7 +22,8 @@ USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/pvm3
 MAKE_ENV+=	PVM_ROOT=${WRKSRC} SHAREDLDFLAGS="-shared"
-PVM_ROOT=	${PREFIX}/lib/pvm
+PVM_ROOT_REL=	lib/pvm
+PVM_ROOT=	${PREFIX}/${PVM_ROOT_REL}
 REINPLACE_ARGS=	-i ""
 SUB_FILES=	pkg-message
 NOT_FOR_ARCHS=	powerpc
@@ -60,9 +61,9 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmd ${STAGEDIR}${PVM_ROOT}/lib
 	${INSTALL_SCRIPT} ${WRKSRC}/lib/pvmgetarch ${STAGEDIR}${PVM_ROOT}/lib
 	${INSTALL_SCRIPT} ${WRKSRC}/lib/aimk ${STAGEDIR}${PVM_ROOT}/lib
-	${LN} -sf ../lib/pvm ${STAGEDIR}${PREFIX}/bin/pvm
-	${LN} -sf ../lib/pvmd ${STAGEDIR}${PREFIX}/bin/pvmd
-	${LN} -sf ../lib/aimk ${STAGEDIR}${PREFIX}/bin/aimk
+	${LN} -sf ../${PVM_ROOT_REL}/lib/pvm ${STAGEDIR}${PREFIX}/bin
+	${LN} -sf ../${PVM_ROOT_REL}/lib/pvmd ${STAGEDIR}${PREFIX}/bin
+	${LN} -sf ../${PVM_ROOT_REL}/lib/aimk ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libpvm3.a ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libfpvm3.a ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/lib/FREEBSD/libgpvm3.a ${STAGEDIR}${PREFIX}/lib



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401300945.s0U9jIiH068258>