diff --git a/audio/penguinsap/Makefile b/audio/penguinsap/Makefile index 507b4e09adc2..9501067e07cc 100644 --- a/audio/penguinsap/Makefile +++ b/audio/penguinsap/Makefile @@ -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