Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2020 09:25:43 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531301 - head/cad/PrusaSlicer
Message-ID:  <202004100925.03A9PhA1044238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Fri Apr 10 09:25:42 2020
New Revision: 531301
URL: https://svnweb.freebsd.org/changeset/ports/531301

Log:
  cad/PrusaSlicer: fix build
  
  Add devel/CGAL dependency.
  
  While here:
  
   * Change MAINTAINER email
   * Add missing LIB_DEPENDS
   * Add missing USES
  
  PR:	245418
  Submitted by:	teodorsigaev@gmail.com (maintainer)

Modified:
  head/cad/PrusaSlicer/Makefile

Modified: head/cad/PrusaSlicer/Makefile
==============================================================================
--- head/cad/PrusaSlicer/Makefile	Fri Apr 10 08:47:57 2020	(r531300)
+++ head/cad/PrusaSlicer/Makefile	Fri Apr 10 09:25:42 2020	(r531301)
@@ -7,13 +7,15 @@ CATEGORIES=		cad
 MASTER_SITES=https://github.com/CGAL/cgal/archive/releases/:cgal
 DISTFILES=CGAL-5.0.2.tar.gz:cgal
 
-MAINTAINER=	teodor@sigaev.ru
+MAINTAINER=	teodorsigaev@gmail.com
 COMMENT=	Slicing application for 3D printers
 
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libtbb.so:devel/tbb \
+		libboost_log.so:devel/boost-libs \
+		libHalf-2_4.so:graphics/ilmbase \
 		libnlopt.so:math/nlopt \
 		libwx_gtk3u_core-3.1.so:x11-toolkits/wxgtk31 \
 		libcurl.so:ftp/curl \
@@ -32,9 +34,10 @@ BUILD_DEPENDS=	cereal>=1.2.2:devel/cereal \
 		gmp>=6.1.2:math/gmp \
 		mpfr>=4.0.2:math/mpfr
 
-USES=		cmake gettext
+USES=		cmake gettext gl glu iconv
 
-CMAKE_ARGS+=	-DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config
+CMAKE_ARGS+=	-DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config \
+		-DCGAL_DIR=${WRKSRC}/CGAL/lib/cmake/CGAL
 CMAKE_INSTALL_PREFIX=	${PREFIX}/${PORTNAME}
 
 USE_GITHUB=	yes
@@ -45,7 +48,7 @@ post-patch:
 	${REINPLACE_CMD} -e 's,%%WRKSRC%%,${WRKSRC},' \
 		${WRKSRC}/CMakeLists.txt
 
-pre-build:
+pre-configure:
 	cd ${WRKDIR}/cgal-releases-CGAL-5.0.2 && \
 	${CMAKE_BIN} -E remove CGALConfig-installation-dirs.cmake && \
 	${MKDIR} build && cd build && \



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