svn commit: r388517 - head/math/spar

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jun 4 09:42:52 UTC 2015


Author: amdmi3
Date: Thu Jun  4 09:42:51 2015
New Revision: 388517
URL: https://svnweb.freebsd.org/changeset/ports/388517

Log:
  - Strip libraries

Modified:
  head/math/spar/Makefile

Modified: head/math/spar/Makefile
==============================================================================
--- head/math/spar/Makefile	Thu Jun  4 09:42:44 2015	(r388516)
+++ head/math/spar/Makefile	Thu Jun  4 09:42:51 2015	(r388517)
@@ -3,7 +3,7 @@
 
 PORTNAME=	spar
 PORTVERSION=	0.5.10
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math devel
 MASTER_SITES=	SF/${PORTNAME}/Spar/${PORTVERSION}
 
@@ -19,4 +19,8 @@ post-patch:
 	@${REINPLACE_CMD} -e "s,-ldl,,g" \
 		${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/module/Makefile.in
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/spar/*.so
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list