mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Fix build with a modern clang
This commit is contained in:
parent
107cce2791
commit
ca55ab5718
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345364
@ -19,21 +19,17 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
ALL_TARGET=
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
MAN1= rapid.1
|
||||
MAKE_ENV+= V=1
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-extract:
|
||||
${REINPLACE_CMD} -E "s/friend RAPID_Collide/friend int RAPID_Collide/" ${WRKSRC}/RAPID_private.H
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/include/RAPID
|
||||
${INSTALL_DATA} ${WRKSRC}/*.H ${PREFIX}/include/RAPID
|
||||
${INSTALL_DATA} ${WRKSRC}/libRAPID.a ${PREFIX}/lib
|
||||
${INSTALL_MAN} ${FILESDIR}/rapid.1 ${MANPREFIX}/man/man1
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/RAPID
|
||||
${INSTALL_DATA} ${WRKSRC}/*.H ${STAGEDIR}${PREFIX}/include/RAPID
|
||||
${INSTALL_DATA} ${WRKSRC}/libRAPID.a ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_MAN} ${FILESDIR}/rapid.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
11
math/rapid/files/patch-sample_client.C
Normal file
11
math/rapid/files/patch-sample_client.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./sample_client.C.orig 2014-02-21 11:34:06.215654443 +0100
|
||||
+++ ./sample_client.C 2014-02-21 11:34:17.068652509 +0100
|
||||
@@ -42,7 +42,7 @@
|
||||
#define LISTS 0
|
||||
|
||||
|
||||
-main()
|
||||
+int main()
|
||||
{
|
||||
// first, get a couple of boxes in which to put our models
|
||||
|
@ -6,4 +6,5 @@ include/RAPID/moments.H
|
||||
include/RAPID/obb.H
|
||||
include/RAPID/overlap.H
|
||||
lib/libRAPID.a
|
||||
man/man1/rapid.1.gz
|
||||
@dirrm include/RAPID
|
||||
|
Loading…
Reference in New Issue
Block a user