version 1.38, 2013/01/26 21:37:01 |
version 1.53, 2014/04/16 11:22:01 |
|
|
# |
# |
|
|
DISTNAME= audacious-plugins-1.5.1 |
DISTNAME= audacious-plugins-1.5.1 |
PKGREVISION= 29 |
PKGREVISION= 42 |
CATEGORIES= audio |
CATEGORIES= audio |
MASTER_SITES= http://distfiles.atheme.org/ |
MASTER_SITES= http://distfiles.atheme.org/ |
EXTRACT_SUFX= .tgz |
EXTRACT_SUFX= .tgz |
Line 14 COMMENT= Plugins for Audacious media pl |
|
Line 14 COMMENT= Plugins for Audacious media pl |
|
GNU_CONFIGURE= yes |
GNU_CONFIGURE= yes |
USE_TOOLS+= gmake intltool pkg-config msgfmt |
USE_TOOLS+= gmake intltool pkg-config msgfmt |
USE_LIBTOOL= yes |
USE_LIBTOOL= yes |
|
USE_LANGUAGES= c c++ |
|
|
|
.include "../../mk/compiler.mk" |
|
.if empty(PKGSRC_COMPILER:Mclang) |
# This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least. |
# This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least. |
# This seems to happen when libstdc++ gets linked in with the plug-ins and the code is not compiled with g++. |
# This seems to happen when libstdc++ gets linked in with the plug-ins and the code is not compiled with g++. |
# For a similar problem see http://archive.netbsd.se/?ml=netbsd-java&a=2007-08&m=4912662 : |
# For a similar problem see http://archive.netbsd.se/?ml=netbsd-java&a=2007-08&m=4912662 : |
|
# Systems with Clang are supposed to be new enough to have a correctly linked |
|
# libstdc++. |
LDFLAGS.NetBSD+= -lgcc_s |
LDFLAGS.NetBSD+= -lgcc_s |
|
.endif |
|
|
# From audio/bmp/Makefile: |
# From audio/bmp/Makefile: |
# XXX Workaround a crash during shutdown that happens when dlclose(3)ing |
# XXX Workaround a crash during shutdown that happens when dlclose(3)ing |
# any open plugin. libstdc++ gets dynamically linked in when the id3lib |
# any open plugin. libstdc++ gets dynamically linked in when the id3lib |
# library is loaded, and is the one causing problems. See PR pkg/26846 |
# library is loaded, and is the one causing problems. See PR pkg/26846 |
# for more information. |
# for more information. |
USE_LANGUAGES= c c++ |
|
LDFLAGS.NetBSD+= -lstdc++ -lm |
LDFLAGS.NetBSD+= -lstdc++ -lm |
|
|
# cdaudio plugin complains about missing OSS at runtime |
# cdaudio plugin complains about missing OSS at runtime |
|
|
.elif ${OPSYS} == "DragonFly" |
.elif ${OPSYS} == "DragonFly" |
PLIST.oss= yes |
PLIST.oss= yes |
.elif ${OPSYS} == "SunOS" |
.elif ${OPSYS} == "SunOS" |
BUILDLINK_TRANSFORM+= rm:-Wl,-export-dynamic |
|
CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t |
CPPFLAGS.SunOS= -D__EXTENSIONS__ -D__uint32_t=uint32_t -D__uint64_t=uint64_t |
CONFIGURE_ARGS+= --enable-oss4 |
CONFIGURE_ARGS+= --enable-oss4 |
PLIST.oss4= yes |
PLIST.oss4= yes |