diff options
author | bofh <bofh@FreeBSD.org> | 2016-04-11 05:01:55 +0800 |
---|---|---|
committer | bofh <bofh@FreeBSD.org> | 2016-04-11 05:01:55 +0800 |
commit | acf949871f51d54f4d2bef576ec3b01693d2c2ed (patch) | |
tree | 1603f87ab7360f4523381e49b2f652300676f02b /science/clhep/Makefile | |
parent | aa6284182e8fa9e1f62f3632446aeea15215a8ad (diff) | |
download | freebsd-ports-gnome-acf949871f51d54f4d2bef576ec3b01693d2c2ed.tar.gz freebsd-ports-gnome-acf949871f51d54f4d2bef576ec3b01693d2c2ed.tar.zst freebsd-ports-gnome-acf949871f51d54f4d2bef576ec3b01693d2c2ed.zip |
science/clhep: Update version 2.2.0.8=>2.3.1.1
- Add conditional compiler type c++11-lib for 9.X and openmp for 10.X+
Diffstat (limited to 'science/clhep/Makefile')
-rw-r--r-- | science/clhep/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/science/clhep/Makefile b/science/clhep/Makefile index 997f7513a9dc..f9be1bbfe4cf 100644 --- a/science/clhep/Makefile +++ b/science/clhep/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= clhep -PORTVERSION= 2.2.0.8 +PORTVERSION= 2.3.1.1 CATEGORIES= science MASTER_SITES= http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/ @@ -20,6 +20,14 @@ USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" +.include <bsd.port.options.mk> + +.if ${OSVERSION} < 1000000 +USES+= compiler:c++11-lib +.else +USES+= compiler:openmp +.endif + post-patch: @${REINPLACE_CMD} -e \ '/DESTINATION/s|lib$${LIB_SUFFIX}|libdata|' \ |