mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
be7d93cd66
The new version of CGAL brings improvements and a lot of changes, including 2 major ones [1](header only[2] and require c++14) requiring to patch all software depending on it. [1] https://www.cgal.org/2019/11/08/cgal50/ [2] https://doc.cgal.org/latest/Manual/installation.html math/cgal: - Update to 5.0.2 databases/sfcgal: - Fix with cgal5 : use c++14 and add gmpxx link databases/postgis*: - bump portversion needed due to cgal and sfcgal changes cad/openscad: - remove LIB_DEPENDS and add BUILD_DEPENDS - Use c++14 cad/openscad-devel: - remove LIB_DEPENDS and add BUILD_DEPENDS - Use c++14 games/flightgear-terragear: - remove LIB_DEPENDS and add BUILD_DEPENDS - fix Boost error (ld: error: undefined symbol: boost:🧵:hardware_concurrency()) graphics/colmap: - remove LIB_DEPENDS and add BUILD_DEPENDS - fix CMAKE_CXX_FLAGS with c++14 PR: 245824 Approved by: wen, jbeich, tcberner (mentor) Differential Revision: D24578
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# Created by: Michael Reifenberger <mr@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openscad
|
|
PORTVERSION= 2019.05.10
|
|
PORTREVISION= 6
|
|
#PORTREVISION= 1
|
|
CATEGORIES= cad
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
|
PATCHFILES+= b6c170cc5dd1.patch:-p1 \
|
|
15acf6700674.patch:-p1 \
|
|
9c4d5ae7ab05.patch:-p1 \
|
|
07a56df933a3.patch:-p1
|
|
|
|
MAINTAINER= mr@FreeBSD.org
|
|
COMMENT= Programmer's solid 3D CAD modeller #'
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= cgal>0:math/cgal
|
|
LIB_DEPENDS= libzip.so:archivers/libzip \
|
|
libhidapi.so:comms/hidapi \
|
|
libboost_regex.so:devel/boost-libs \
|
|
libqscintilla2_qt5.so:devel/qscintilla2-qt5 \
|
|
libopencsg.so:graphics/opencsg \
|
|
libgmp.so:math/gmp \
|
|
libmpfr.so:math/mpfr \
|
|
libfreetype.so:print/freetype2 \
|
|
libharfbuzz.so:print/harfbuzz \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libdouble-conversion.so:devel/double-conversion
|
|
|
|
CONFLICTS= openscad
|
|
|
|
USES= bison compiler:c++14-lang desktop-file-utils eigen:3 gettext \
|
|
gl gnome pkgconfig qmake qt:5 shared-mime-info xorg
|
|
USE_GITHUB= yes
|
|
USE_GL= gl glu glew
|
|
USE_GNOME= glib20 libxml2
|
|
USE_QT= buildtools_build core concurrent_build dbus gui multimedia widgets
|
|
USE_XORG= x11
|
|
GH_TAGNAME= 0f6d569b57112b79f657a82b0809dc420fbff163
|
|
QMAKE_ARGS= CONFIG+="experimental" VERSION=${PORTVERSION}
|
|
# Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport)
|
|
LDFLAGS+= -Wl,--as-needed
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's/-libusb//' ${WRKSRC}/features/hidapi.prf
|
|
@${REINPLACE_CMD} -e 's,share/man,man,' \
|
|
${WRKSRC}/openscad.pro
|
|
|
|
.include <bsd.port.mk>
|