math/qhull: install the old non-reentrant lib for existing users
This commit is contained in:
parent
31f16be061
commit
7d5231621b
3 changed files with 21 additions and 7 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue