Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.28 2015/04/25 14:23:29 tnn Exp $
# $NetBSD: Makefile,v 1.30 2016/03/05 11:27:50 jperkin Exp $
PKGNAME= cgal-3.9
DISTNAME= CGAL-3.9
PKGREVISION= 25
PKGREVISION= 26
CATEGORIES= math
MASTER_SITES= https://gforge.inria.fr/frs/download.php/29125/
@@ -15,7 +15,7 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
pre-install:
cd ${WRKSRC} && rm -f include/CGAL/Mesh_2/Do_not_refine_edges.h.orig include/CGAL/config.h.orig
find ${WRKSRC} -name \*.orig -exec rm {} \;
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
+2 -2
View File
@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.23 2015/04/25 14:23:29 tnn Exp $
# $NetBSD: buildlink3.mk,v 1.24 2016/03/05 11:27:50 jperkin Exp $
BUILDLINK_TREE+= cgal
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= cgal
CGAL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.cgal+= cgal>=3.9
BUILDLINK_ABI_DEPENDS.cgal+= cgal>=3.9nb25
BUILDLINK_ABI_DEPENDS.cgal+= cgal>=3.9nb26
BUILDLINK_PKGSRCDIR.cgal?= ../../math/cgal
.include "../../devel/boost-headers/buildlink3.mk"
+6 -2
View File
@@ -1,8 +1,12 @@
$NetBSD: distinfo,v 1.3 2015/03/31 15:48:32 joerg Exp $
$NetBSD: distinfo,v 1.7 2016/04/01 12:17:33 jperkin Exp $
SHA1 (CGAL-3.9.tar.gz) = cc99fad7116f221b6301326834f71ff65cebf2eb
RMD160 (CGAL-3.9.tar.gz) = 0a5a929ecedeeac3833ec90f802b7f5ac069ad47
SHA512 (CGAL-3.9.tar.gz) = 9b03c08aae470877eb7fb2f16d7091a4ea2c79a643ba075d7b1bd5c056342c10e6fb3eed48a2756d74da48f6b7171f7d041446a0edb57ca212f0bb053912995d
Size (CGAL-3.9.tar.gz) = 14276059 bytes
SHA1 (patch-include_CGAL_Mesh__2_Do__not__refine__edges.h) = 5a66b2ff56d3e20e554ab73829e3c8c735144489
SHA1 (patch-include_CGAL_Qt_GraphicsItem.h) = 34f78072a610d7054d9b879aa697b96b7ee62e5a
SHA1 (patch-include_CGAL_Qt_GraphicsViewInput.h) = f842396bfb15a264cf86528781fac90c61c58ce9
SHA1 (patch-include_CGAL_config.h) = ba29667305fc4868a9995048801408e95d75bd41
SHA1 (patch-manpage-installation) = c664f64ccc9507871c1ada46b983f0d006b13fe6
SHA1 (patch-manpage-installation) = 1381c12f46ae7b791d78378b742529f77f04136c
SHA1 (patch-src-CMakeLists.txt) = 26e92c17b26bce8f0dd5a97ded689764fd243da0
@@ -0,0 +1,18 @@
$NetBSD: patch-include_CGAL_Qt_GraphicsItem.h,v 1.1 2016/01/17 15:17:10 joerg Exp $
qt4's moc can't deal with BOOST_JOIN in newer versions of Boost, so hide
the problematic includes.
--- include/CGAL/Qt/GraphicsItem.h.orig 2016-01-16 15:12:02.000000000 +0000
+++ include/CGAL/Qt/GraphicsItem.h
@@ -24,8 +24,9 @@
#include <CGAL/auto_link/Qt4.h>
#include <QObject>
#include <QGraphicsItem>
+#ifndef Q_MOC_RUN
#include <CGAL/Object.h>
-
+#endif
namespace CGAL {
@@ -0,0 +1,17 @@
$NetBSD: patch-include_CGAL_Qt_GraphicsViewInput.h,v 1.1 2016/01/17 15:17:10 joerg Exp $
qt4's moc can't deal with BOOST_JOIN in newer versions of Boost, so hide
the problematic includes.
--- include/CGAL/Qt/GraphicsViewInput.h.orig 2016-01-16 15:09:29.000000000 +0000
+++ include/CGAL/Qt/GraphicsViewInput.h
@@ -22,7 +22,9 @@
#define CGAL_QT_GRAPHICS_VIEW_INPUT_H
#include <CGAL/auto_link/Qt4.h>
+#ifndef Q_MOC_RUN
#include <CGAL/Object.h>
+#endif
#include <QObject>
namespace CGAL {
+2 -2
View File
@@ -1,4 +1,4 @@
$NetBSD: patch-manpage-installation,v 1.1.1.1 2012/02/27 12:46:27 reinoud Exp $
$NetBSD: patch-manpage-installation,v 1.2 2016/04/01 12:17:33 jperkin Exp $
Align manpage installation path with pkgsrc conventions.
@@ -9,7 +9,7 @@ Align manpage installation path with pkgsrc conventions.
)
-set ( CGAL_INSTALL_MAN_DIR "share/man/man1"
+set ( CGAL_INSTALL_MAN_DIR "man/man1"
+set ( CGAL_INSTALL_MAN_DIR "${CMAKE_INSTALL_MANDIR}/man1"
CACHE STRING "The folder where manual pages for CGAL scripts will be installed, relative to CMAKE_INSTALL_PREFIX"
)
@@ -0,0 +1,14 @@
$NetBSD: patch-src-CMakeLists.txt,v 1.1 2015/12/16 11:29:47 bouyer Exp $
--- src/CMakeLists.txt.orig 2015-12-16 12:06:10.000000000 +0100
+++ src/CMakeLists.txt 2015-12-16 12:11:31.000000000 +0100
@@ -54,7 +54,7 @@
file(GLOB CONFIGURED_LIBS_IN_PACKAGE ${package}/src/CGAL*/CMakeLists.txt)
foreach (libconfigfile ${CONFIGURED_LIBS_IN_PACKAGE})
string(REPLACE "${package}/src/" "" libconfigfile ${libconfigfile})
- string(REPLACE "//CMakeLists.txt" "" CGAL_CONFIGURED_LIBRARY_SUBDIR ${libconfigfile})
+ string(REPLACE "/CMakeLists.txt" "" CGAL_CONFIGURED_LIBRARY_SUBDIR ${libconfigfile})
if (NOT ${CGAL_CONFIGURED_LIBRARY_SUBDIR} STREQUAL "CGAL")
string(REPLACE "CGAL" "" CGAL_CONFIGURED_LIBRARY_NAME ${CGAL_CONFIGURED_LIBRARY_SUBDIR})