Update cddlib to 0.94l.

Initial diff from maintainer Dimitri Karamazov

OK sthen@
This commit is contained in:
martin 2020-10-04 07:27:36 +00:00
parent 78d2cd0aaa
commit 5f63a875de
5 changed files with 44 additions and 19 deletions

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/07/16 04:46:18 daniel Exp $
# $OpenBSD: Makefile,v 1.2 2020/10/04 07:27:36 martin Exp $
COMMENT = C library for double description method for convex polyhedra
GH_ACCOUNT = cddlib
GH_PROJECT = cddlib
GH_TAGNAME = 0.94j
GH_TAGNAME = 0.94l
SHARED_LIBS += cdd 0.0 # 0.0
SHARED_LIBS += cddgmp 0.0 # 0.0
SHARED_LIBS += cdd 0.1 # 1.1
SHARED_LIBS += cddgmp 0.1 # 1.1
CATEGORIES = math
@ -20,7 +20,6 @@ PERMIT_PACKAGE = Yes
WANTLIB += c gmp
BUILD_DEPENDS = print/texlive/base
LIB_DEPENDS = devel/gmp
USE_GMAKE = Yes

View File

@ -1,2 +1,2 @@
SHA256 (cddlib-0.94j.tar.gz) = 9Uu6eFufaBS+XPbXaGHdYQgpl8e0jgJE/DzOpxlYktQ=
SIZE (cddlib-0.94j.tar.gz) = 496651
SHA256 (cddlib-0.94l.tar.gz) = 0TyOj7Pm6P/9A0bgo5b833zq4oyjxPe//68Pr4Novb0=
SIZE (cddlib-0.94l.tar.gz) = 493895

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-Makefile_am,v 1.1 2020/10/04 07:27:36 martin Exp $
Avoid building documentation
--- Makefile.am.orig Sun Sep 20 20:38:23 2020
+++ Makefile.am Sun Sep 20 20:38:36 2020
@@ -1,5 +1,5 @@
# Directories where we can build something.
-SUBDIRS = doc lib-src src
+SUBDIRS = lib-src src
# Install the examples into /usr/share/doc/cddlib/examples*
nobase_doc_DATA = $(srcdir)/examples/* $(srcdir)/examples-ine/* $(srcdir)/examples-ine3d/* $(srcdir)/examples-ext/*

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-lib-src_Makefile_gmp_am,v 1.1 2020/10/04 07:27:36 martin Exp $
Index: lib-src/Makefile.gmp.am
--- lib-src/Makefile.gmp.am.orig
+++ lib-src/Makefile.gmp.am
@@ -9,7 +9,7 @@ cddtypes_f.h
libcddgmp_la_SOURCES = $(libcdd_la_SOURCES)
libcddgmp_la_CPPFLAGS = -DGMPRATIONAL
-libcddgmp_la_LDFLAGS = -lgmp
+libcddgmp_la_LDFLAGS = $(AM_LDFLAGS) -lgmp
# do not ship generated source files
nodist_libcddgmp_la_SOURCES = \
cddcore_f.c \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/07/16 04:46:18 daniel Exp $
@comment $OpenBSD: PLIST,v 1.2 2020/10/04 07:27:37 martin Exp $
@bin bin/adjacency
@bin bin/adjacency_gmp
@bin bin/allfaces
@ -27,24 +27,23 @@
@bin bin/testlp3_gmp
@bin bin/testshoot
@bin bin/testshoot_gmp
include/cdd.h
include/cdd_f.h
include/cddmp.h
include/cddmp_f.h
include/cddtypes.h
include/cddtypes_f.h
include/setoper.h
include/splitmix64.h
include/cddlib/
include/cddlib/cdd.h
include/cddlib/cdd_f.h
include/cddlib/cddmp.h
include/cddlib/cddmp_f.h
include/cddlib/cddtypes.h
include/cddlib/cddtypes_f.h
include/cddlib/setoper.h
include/cddlib/splitmix64.h
@static-lib lib/libcdd.a
lib/libcdd.la
@lib lib/libcdd.so.${LIBcdd_VERSION}
@static-lib lib/libcddgmp.a
lib/libcddgmp.la
@lib lib/libcddgmp.so.${LIBcddgmp_VERSION}
lib/pkgconfig/cddlib.pc
share/doc/cddlib/
share/doc/cddlib/cddlibman.dvi
share/doc/cddlib/cddlibman.pdf
share/doc/cddlib/cddlibman.ps
share/doc/cddlib/examples/
share/doc/cddlib/examples-ext/
share/doc/cddlib/examples-ext/ccc4.ext