From owner-svn-ports-all@FreeBSD.ORG Sat Sep 8 15:56:50 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70CB91065670; Sat, 8 Sep 2012 15:56:50 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5BD5F8FC0A; Sat, 8 Sep 2012 15:56:50 +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 q88FuoFg016667; Sat, 8 Sep 2012 15:56:50 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q88FuoQh016665; Sat, 8 Sep 2012 15:56:50 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201209081556.q88FuoQh016665@svn.freebsd.org> From: Emanuel Haupt Date: Sat, 8 Sep 2012 15:56:50 +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: r303915 - head/audio/xmms-sapplug 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, 08 Sep 2012 15:56:50 -0000 Author: ehaupt Date: Sat Sep 8 15:56:49 2012 New Revision: 303915 URL: http://svn.freebsd.org/changeset/ports/303915 Log: - Use OPTIONSng - Remove deprecated header information Modified: head/audio/xmms-sapplug/Makefile Modified: head/audio/xmms-sapplug/Makefile ============================================================================== --- head/audio/xmms-sapplug/Makefile Sat Sep 8 15:37:56 2012 (r303914) +++ head/audio/xmms-sapplug/Makefile Sat Sep 8 15:56:49 2012 (r303915) @@ -1,9 +1,4 @@ -# New ports collection makefile for: xmms-sapplug -# Date created: 14 Jul 2005 -# Whom: Emanuel Haupt -# # $FreeBSD$ -# PORTNAME= xmms-sapplug DISTVERSION= 0.3f @@ -29,20 +24,21 @@ WRKSRC= ${WRKDIR}/sapplug-${DISTVERSION PLIST_FILES= lib/xmms/Input/libsap.so -OPTIONS= OPTIMIZED_CXXFLAGS "use optimized C++ flags" on \ - OPTIMIZED_CFLAGS "use optimized C flags" on +OPTIONS_DEFINE= OPTIMIZED_CFLAGS -.include +.include .if ${CXX:T} != "clang++" CXXFLAGS+= --no-exceptions .endif -.if defined(WITH_OPTIMIZED_CXXFLAGS) +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +CFLAGS+= -fpic -DPIC +.endif + +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CXXFLAGS+= -fPIC -fpic -funroll-all-loops -fno-strength-reduce \ -finline-functions -fomit-frame-pointer -.endif -.if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -fPIC -fpic -funroll-all-loops -fomit-frame-pointer \ -fno-strength-reduce .endif @@ -59,4 +55,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include +.include