Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 01:25:45 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508355 - head/audio/calf-lv2
Message-ID:  <201908080125.x781PjNp001915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Aug  8 01:25:44 2019
New Revision: 508355
URL: https://svnweb.freebsd.org/changeset/ports/508355

Log:
  audio/calf-lv2: Add SSE options; Strip binary
  
  PR:		234331
  Submitted by:	Daniel Shafer <daniel@shafer.cc>

Modified:
  head/audio/calf-lv2/Makefile

Modified: head/audio/calf-lv2/Makefile
==============================================================================
--- head/audio/calf-lv2/Makefile	Wed Aug  7 22:43:49 2019	(r508354)
+++ head/audio/calf-lv2/Makefile	Thu Aug  8 01:25:44 2019	(r508355)
@@ -3,6 +3,7 @@
 
 PORTNAME=	calf
 DISTVERSION=	0.90.3
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://calf-studio-gear.org/files/
 PKGNAMESUFFIX=	-lv2
@@ -28,14 +29,21 @@ USE_CXXSTD=	c++11
 INSTALL_TARGET=	install-strip
 INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
-USE_GCC=	yes # workaround for https://github.com/calf-studio-gear/calf/issues/227
+USE_GCC=	yes # workaround for https://github.com/calf-studio-gear/calf/issues/227, supposedly fixed in clang-8.0.1-+rc4-1
 
 OPTIONS_DEFINE=		DOCS LASH
 OPTIONS_DEFAULT=	LASH
 
+OPTIONS_DEFINE_amd64=	SSE
+OPTIONS_DEFINE_i386=	SSE
+OPTIONS_DEFAULT_amd64=	SSE
+OPTIONS_DEFAULT_i386=	SSE
+
 LASH_LIB_DEPENDS=	liblash.so:audio/lash
 LASH_CONFIGURE_WITH=	lash
 
+SSE_CONFIGURE_ENABLE=	sse
+
 PORTDOCS=	*
 
 .include <bsd.port.pre.mk>
@@ -47,5 +55,6 @@ CXXFLAGS+=	-finline-limit=80 -finline-functions -finli
 post-install: # fix absolute symbolic link to be relative
 	@${RM} ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so
 	@${RLN} ${STAGEDIR}${PREFIX}/lib/calf/libcalf.so ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calflv2gui.so # https://github.com/calf-studio-gear/calf/issues/235
 
 .include <bsd.port.post.mk>



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