Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 10:35:44 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345364 - in head/math/rapid: . files
Message-ID:  <201402211035.s1LAZiDw087306@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 21 10:35:44 2014
New Revision: 345364
URL: http://svnweb.freebsd.org/changeset/ports/345364
QAT: https://qat.redports.org/buildarchive/r345364/

Log:
  - Support staging
  - Fix build with a modern clang

Added:
  head/math/rapid/files/patch-sample_client.C   (contents, props changed)
Modified:
  head/math/rapid/Makefile
  head/math/rapid/pkg-plist

Modified: head/math/rapid/Makefile
==============================================================================
--- head/math/rapid/Makefile	Fri Feb 21 10:29:52 2014	(r345363)
+++ head/math/rapid/Makefile	Fri Feb 21 10:35:44 2014	(r345364)
@@ -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>

Added: head/math/rapid/files/patch-sample_client.C
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/rapid/files/patch-sample_client.C	Fri Feb 21 10:35:44 2014	(r345364)
@@ -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
+ 

Modified: head/math/rapid/pkg-plist
==============================================================================
--- head/math/rapid/pkg-plist	Fri Feb 21 10:29:52 2014	(r345363)
+++ head/math/rapid/pkg-plist	Fri Feb 21 10:35:44 2014	(r345364)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402211035.s1LAZiDw087306>