Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2018 09:24:52 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474569 - head/science/openstructure
Message-ID:  <201807130924.w6D9OqNR062741@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Jul 13 09:24:52 2018
New Revision: 474569
URL: https://svnweb.freebsd.org/changeset/ports/474569

Log:
  science/openstructure: Add USE_CXXSTD=c++98; Use MASTER_SITES instead of USE_GITLAB
  
  USE_GITLAB doesn't work in this case because it requires GL_COMMIT while only DISTVERSION
  should be sufficient.
  
  USE_CXXSTD=c++98 is used because -DCMAKE_CXX_FLAGS='-std=c++98' os overridden.
  
  Reported by:	tobik

Modified:
  head/science/openstructure/Makefile
  head/science/openstructure/distinfo

Modified: head/science/openstructure/Makefile
==============================================================================
--- head/science/openstructure/Makefile	Fri Jul 13 09:07:42 2018	(r474568)
+++ head/science/openstructure/Makefile	Fri Jul 13 09:24:52 2018	(r474569)
@@ -2,8 +2,9 @@
 
 PORTNAME=	openstructure
 DISTVERSION=	1.7.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	science
+MASTER_SITES=	https://git.scicore.unibas.ch/schwede/${PORTNAME}/repository/${DISTVERSION}/archive.tar.gz?dummy=/
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Molecular modelling and visualization environment
@@ -21,10 +22,6 @@ RUN_DEPENDS=	${PYNUMPY} \
 		bash:shells/bash
 
 USES=		cmake:outsource eigen:3 python pyqt:4 qt:4 shebangfix
-USE_GITLAB=	yes
-GL_SITE=	https://git.scicore.unibas.ch/
-GL_ACCOUNT=	schwede
-GL_COMMIT=	${DISTVERSION}
 SHEBANG_FILES=	scripts/dng.in scripts/ost.in scripts/ost_config.in
 USE_QT=		corelib gui network opengl xml qmake_build moc_build rcc_build uic_build
 USE_PYQT=	core gui
@@ -35,8 +32,9 @@ BINARY_ALIAS=	python=${PYTHON_CMD}
 CMAKE_ARGS=	-DPYTHON_INCLUDE_PATH=${PYTHON_INCLUDEDIR} \
 		-DPYTHON_LIBRARIES=${PYTHON_LIBDIR} \
 		-DFREEBSD_BOOST_PYTHON_COMPONENT=python${PYTHON_VER:S/.//} \
-		-DFREEBSD_PYTHON_LIBRARY=python${PYTHON_VER} \
-		-DCMAKE_CXX_FLAGS='-std=c++98' # c++98 is needed until 1.8.0 to prevent C++ code build breakage
+		-DFREEBSD_PYTHON_LIBRARY=python${PYTHON_VER}
+
+USE_CXXSTD=c++98 # c++98 is needed until 1.8.0 to prevent C++ code build breakage
 
 post-extract:
 	@${MV} ${WRKSRC}-* ${WRKSRC}

Modified: head/science/openstructure/distinfo
==============================================================================
--- head/science/openstructure/distinfo	Fri Jul 13 09:07:42 2018	(r474568)
+++ head/science/openstructure/distinfo	Fri Jul 13 09:24:52 2018	(r474569)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1531459774
-SHA256 (schwede-openstructure-1.7.1_GL0.tar.gz) = a3715a921e3f992ae66ebdc19e6bcb161292bd83ac1302174ff33dc1fc98db50
-SIZE (schwede-openstructure-1.7.1_GL0.tar.gz) = 59275493
+TIMESTAMP = 1531473520
+SHA256 (openstructure-1.7.1.tar.gz) = a3715a921e3f992ae66ebdc19e6bcb161292bd83ac1302174ff33dc1fc98db50
+SIZE (openstructure-1.7.1.tar.gz) = 59275493



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