diff options
author | thor <thor@pkgsrc.org> | 2021-06-15 04:07:20 +0000 |
---|---|---|
committer | thor <thor@pkgsrc.org> | 2021-06-15 04:07:20 +0000 |
commit | b31fcc6b7b6271c11d46980e8b393b7fd56c7435 (patch) | |
tree | 002f43f28d29b10a1f79301ffedd27637bc08097 /math | |
parent | ede27da53c3d32b82b2488a8bebe35f8a5a59761 (diff) | |
download | pkgsrc-b31fcc6b7b6271c11d46980e8b393b7fd56c7435.tar.gz |
math/qhull: install the old non-reentrant lib for existing users
Diffstat (limited to 'math')
-rw-r--r-- | math/qhull/Makefile | 15 | ||||
-rw-r--r-- | math/qhull/PLIST | 9 | ||||
-rw-r--r-- | math/qhull/buildlink3.mk | 4 |
3 files changed, 21 insertions, 7 deletions
diff --git a/math/qhull/Makefile b/math/qhull/Makefile index 61f347a3739..cfca408b1ff 100644 --- a/math/qhull/Makefile +++ b/math/qhull/Makefile @@ -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 HOMEPAGE= http://www.qhull.org/ COMMENT= Computing the convex hull @@ -23,4 +28,10 @@ CMAKE_ARGS+= -DMAN_INSTALL_DIR:PATH=${PREFIX}/${PKGMANDIR}/man1 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 --git a/math/qhull/PLIST b/math/qhull/PLIST index 2515940d49a..ff980803929 100644 --- a/math/qhull/PLIST +++ b/math/qhull/PLIST @@ -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/QhullConfig.cmake 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 --git a/math/qhull/buildlink3.mk b/math/qhull/buildlink3.mk index d2649ffc52b..fe32639ab18 100644 --- a/math/qhull/buildlink3.mk +++ b/math/qhull/buildlink3.mk @@ -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 @@ BUILDLINK_TREE+= qhull 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 |