From owner-svn-ports-all@FreeBSD.ORG Sat Aug 18 09:56:37 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58852106566B; Sat, 18 Aug 2012 09:56:37 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4279D8FC0C; Sat, 18 Aug 2012 09:56:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7I9ubZ5004984; Sat, 18 Aug 2012 09:56:37 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7I9ubds004982; Sat, 18 Aug 2012 09:56:37 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201208180956.q7I9ubds004982@svn.freebsd.org> From: Alexey Dokuchaev Date: Sat, 18 Aug 2012 09:56:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r302716 - head/audio/soundtouch X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 09:56:37 -0000 Author: danfe Date: Sat Aug 18 09:56:36 2012 New Revision: 302716 URL: http://svn.freebsd.org/changeset/ports/302716 Log: - Attempt to unbreak on non-Intel architectures - Provide an option to use integer sample format - Drop indefinite article from the COMMENT Modified: head/audio/soundtouch/Makefile Modified: head/audio/soundtouch/Makefile ============================================================================== --- head/audio/soundtouch/Makefile Sat Aug 18 09:46:15 2012 (r302715) +++ head/audio/soundtouch/Makefile Sat Aug 18 09:56:36 2012 (r302716) @@ -11,7 +11,7 @@ CATEGORIES= audio MASTER_SITES= http://www.surina.net/soundtouch/ MAINTAINER= ports@FreeBSD.org -COMMENT= An open-source audio processing library +COMMENT= Open-source audio processing library LICENSE= LGPL21 @@ -25,17 +25,27 @@ PORTDOCS= README.html .endif WRKSRC= ${WRKDIR}/${PORTNAME} -ONLY_FOR_ARCHS= amd64 i386 ia64 -ONLY_FOR_ARCHS_REASON="uses -msse2 directive to CC" +OPTIONS_DEFINE= INTEGER_SAMPLES +INTEGER_SAMPLES_DESC= Use integer sample format + +.include + +.if ${PORT_OPTIONS:MINTEGER_SAMPLES} +CONFIGURE_ARGS+= --enable-integer-samples +.endif post-patch: @${REINPLACE_CMD} -E 's|-O3 ?||' \ ${WRKSRC}/source/SoundStretch/Makefile.am \ ${WRKSRC}/source/SoundTouch/Makefile.am +.if ${ARCH} != "i386" && ${ARCH} != "amd64" && ${ARCH} != "ia64" + @${REINPLACE_CMD} '/AM_CXXFLAGS=/s|-msse2 ||' \ + ${WRKSRC}/source/SoundTouch/Makefile.am +.endif run-autotools: # see ${WRKSRC}/bootstrap for reference @(cd ${CONFIGURE_WRKSRC} && ${SETENV} \ AUTOMAKE="${AUTOMAKE} --add-missing --foreign --copy" \ ${AUTORECONF} -fisv) -.include +.include