1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Fix build with clang and fix some new portlint warnings.

This commit is contained in:
Emanuel Haupt 2011-06-21 11:18:33 +00:00
parent 4e92d29b14
commit 62ecbd7205
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275983

View File

@ -16,14 +16,13 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= XMMS input plugin for playing 8bit Atari(TM) .sap audio files
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
USE_GMAKE= yes
USE_GNOME= glib12
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CXXFLAGS+= --no-exceptions
WRKSRC= ${WRKDIR}/sapplug-${DISTVERSION}
LICENSE= GPLv2
@ -34,6 +33,10 @@ OPTIONS= OPTIMIZED_CXXFLAGS "use optimized C++ flags" on \
.include <bsd.port.pre.mk>
.if ${CXX:T} != "clang++"
CXXFLAGS+= --no-exceptions
.endif
.if defined(WITH_OPTIMIZED_CXXFLAGS)
CXXFLAGS+= -fPIC -fpic -funroll-all-loops -fno-strength-reduce \
-finline-functions -fomit-frame-pointer