svn commit: r332393 - in head/math/clasp: . files
Vsevolod Stakhov
vsevolod at FreeBSD.org
Fri Nov 1 15:53:38 UTC 2013
Author: vsevolod
Date: Fri Nov 1 15:53:37 2013
New Revision: 332393
URL: http://svnweb.freebsd.org/changeset/ports/332393
Log:
- Unbreak with clang and new C++ world.
- Support staging.
- Strip binary by using INSTALL_PROGRAM instead of INSTALL.
Added:
head/math/clasp/files/
head/math/clasp/files/patch-libclasp-clasp-util-platform.h (contents, props changed)
Modified:
head/math/clasp/Makefile
Modified: head/math/clasp/Makefile
==============================================================================
--- head/math/clasp/Makefile Fri Nov 1 15:35:01 2013 (r332392)
+++ head/math/clasp/Makefile Fri Nov 1 15:53:37 2013 (r332393)
@@ -3,6 +3,7 @@
PORTNAME= clasp
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= potassco/${PORTNAME}/${PORTVERSION}
@@ -15,8 +16,7 @@ USES= cmake:outsource
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
do-install:
- ${INSTALL} ${INSTALL_WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
Added: head/math/clasp/files/patch-libclasp-clasp-util-platform.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/clasp/files/patch-libclasp-clasp-util-platform.h Fri Nov 1 15:53:37 2013 (r332393)
@@ -0,0 +1,11 @@
+--- libclasp/clasp/util/platform.h.orig 1970-09-03 18:56:56.000000000 +0100
++++ libclasp/clasp/util/platform.h 1970-09-03 19:04:47.000000000 +0100
+@@ -107,7 +107,7 @@
+ template <bool> struct static_assertion;
+ template <> struct static_assertion<true> {};
+
+-#if !defined(__cplusplus) || __cplusplus < 201103L
++#if !defined(__cplusplus) || !defined(static_assert)
+ #define static_assert(x, message) (void)sizeof(static_assertion< (x) >)
+ #endif
+
More information about the svn-ports-all
mailing list