Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2016 00:09:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415165 - head/devel/openmp
Message-ID:  <201605140009.u4E09mAO057435@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat May 14 00:09:48 2016
New Revision: 415165
URL: https://svnweb.freebsd.org/changeset/ports/415165

Log:
  Make the versioned lib the actual file and libomp.so a symlink to it

Modified:
  head/devel/openmp/Makefile

Modified: head/devel/openmp/Makefile
==============================================================================
--- head/devel/openmp/Makefile	Fri May 13 23:59:57 2016	(r415164)
+++ head/devel/openmp/Makefile	Sat May 14 00:09:48 2016	(r415165)
@@ -2,7 +2,7 @@
 
 PORTNAME=	openmp
 PORTVERSION=	3.8.0
-PORTREVISION=	1
+PORTREVISION=	2
 DISTVERSIONSUFFIX=	.src
 CATEGORIES=	devel
 MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
@@ -24,6 +24,7 @@ PLIST_FILES=	include/omp.h \
 		lib/libomp.so
 
 post-install:
-	${LN} -sf libomp.so ${STAGEDIR}${PREFIX}/lib/libomp.so.0
+	${MV} ${STAGEDIR}${PREFIX}/lib/libomp.so ${STAGEDIR}${PREFIX}/lib/libomp.so.0
+	${LN} -sf libomp.so.0 ${STAGEDIR}${PREFIX}/lib/libomp.so
 
 .include <bsd.port.mk>



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