From owner-svn-ports-all@FreeBSD.ORG Tue Nov 12 15:59:48 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6282936B; Tue, 12 Nov 2013 15:59:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 526DA2723; Tue, 12 Nov 2013 15:59:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rACFxmqJ000555; Tue, 12 Nov 2013 15:59:48 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rACFxmXv000554; Tue, 12 Nov 2013 15:59:48 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201311121559.rACFxmXv000554@svn.freebsd.org> From: Emanuel Haupt Date: Tue, 12 Nov 2013 15:59:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333583 - head/audio/penguinsap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 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: Tue, 12 Nov 2013 15:59:48 -0000 Author: ehaupt Date: Tue Nov 12 15:59:47 2013 New Revision: 333583 URL: http://svnweb.freebsd.org/changeset/ports/333583 Log: Make use of compier USES macro to determine compiler type. Modified: head/audio/penguinsap/Makefile Modified: head/audio/penguinsap/Makefile ============================================================================== --- head/audio/penguinsap/Makefile Tue Nov 12 15:52:20 2013 (r333582) +++ head/audio/penguinsap/Makefile Tue Nov 12 15:59:47 2013 (r333583) @@ -9,6 +9,7 @@ MASTER_SITES= CRITICAL MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line Atari(TM) .sap player +USES= compiler USE_DOS2UNIX= yes SOURCES= sapPokey pokey1 sapCpu sapEngine main pokey0 @@ -22,11 +23,8 @@ PLIST_FILES= bin/sap .include -_CLANG!= ${CXX} --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' -ISCLANG= ${_CLANG:M[34][0-9]} - # clang can build this without -fno-exceptions -.if empty(ISCLANG) +.if ${COMPILER_TYPE} == "gcc" CXXFLAGS+= -fno-exceptions .endif @@ -46,7 +44,4 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sap ${STAGEDIR}${PREFIX}/bin -post-install: - @${CAT} ${PKGMESSAGE} - .include