svn commit: r333583 - head/audio/penguinsap
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Nov 12 15:59:48 UTC 2013
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 at 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 <bsd.port.pre.mk>
-_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 <bsd.port.post.mk>
More information about the svn-ports-head
mailing list