pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/qhull math/qhull: install the old non-reentrant l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63af6faaceb0
branches:  trunk
changeset: 454689:63af6faaceb0
user:      thor <thor%pkgsrc.org@localhost>
date:      Tue Jun 15 04:07:20 2021 +0000

description:
math/qhull: install the old non-reentrant lib for existing users

diffstat:

 math/qhull/Makefile      |  15 +++++++++++++--
 math/qhull/PLIST         |   9 ++++++---
 math/qhull/buildlink3.mk |   4 ++--
 3 files changed, 21 insertions(+), 7 deletions(-)

diffs (75 lines):

diff -r 36adfb074b82 -r 63af6faaceb0 math/qhull/Makefile
--- a/math/qhull/Makefile       Tue Jun 15 02:48:30 2021 +0000
+++ b/math/qhull/Makefile       Tue Jun 15 04:07:20 2021 +0000
@@ -1,11 +1,16 @@
-# $NetBSD: Makefile,v 1.8 2021/02/07 15:23:47 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/06/15 04:07:20 thor Exp $
 
-DISTNAME=      qhull-2020-src-8.0.2
+DISTNAME=      qhull-2020-src-${LIBVERSION}
 PKGNAME=       qhull-2020.2
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  http://www.qhull.org/download/
 EXTRACT_SUFX=  .tgz
 
+LIBVERSION=    ${LIBMAJOR}.2
+LIBMAJOR=      8.0
+PLIST_SUBST+=  LIBVERSION=${LIBVERSION} LIBMAJOR=${LIBMAJOR}
+
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.qhull.org/
 COMMENT=       Computing the convex hull
@@ -23,4 +28,10 @@
 post-extract:
        rm -f ${WRKSRC}/eg/q_benchmark ${WRKSRC}/eg/qhull-zip.sh
 
+post-build:
+       cd ${WRKSRC} && make libqhull
+
+post-install:
+       cp ${WRKSRC}/libqhull.* ${DESTDIR}${PREFIX}/lib/
+
 .include "../../mk/bsd.pkg.mk"
diff -r 36adfb074b82 -r 63af6faaceb0 math/qhull/PLIST
--- a/math/qhull/PLIST  Tue Jun 15 02:48:30 2021 +0000
+++ b/math/qhull/PLIST  Tue Jun 15 04:07:20 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/01/23 23:19:16 gdt Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/06/15 04:07:20 thor Exp $
 bin/qconvex
 bin/qdelaunay
 bin/qhalf
@@ -58,9 +58,12 @@
 lib/cmake/Qhull/QhullConfigVersion.cmake
 lib/cmake/Qhull/QhullTargets-noconfig.cmake
 lib/cmake/Qhull/QhullTargets.cmake
+lib/libqhull.so
+lib/libqhull.so.${LIBMAJOR}
+lib/libqhull.so.${LIBVERSION}
 lib/libqhull_r.so
-lib/libqhull_r.so.8.0
-lib/libqhull_r.so.8.0.2
+lib/libqhull_r.so.${LIBMAJOR}
+lib/libqhull_r.so.${LIBVERSION}
 lib/libqhullcpp.a
 lib/libqhullstatic.a
 lib/libqhullstatic_r.a
diff -r 36adfb074b82 -r 63af6faaceb0 math/qhull/buildlink3.mk
--- a/math/qhull/buildlink3.mk  Tue Jun 15 02:48:30 2021 +0000
+++ b/math/qhull/buildlink3.mk  Tue Jun 15 04:07:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2016/02/03 16:05:56 nros Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2021/06/15 04:07:20 thor Exp $
 
 BUILDLINK_TREE+=       qhull
 
@@ -6,7 +6,7 @@
 QHULL_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.qhull+=  qhull>=2003.1
-BUILDLINK_ABI_DEPENDS.qhull+=  qhull>=2015.1
+BUILDLINK_ABI_DEPENDS.qhull+=  qhull>=2020.2nb1
 BUILDLINK_PKGSRCDIR.qhull?=    ../../math/qhull
 .endif # QHULL_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index