diff options
-rw-r--r-- | audio/jack-rack/Makefile | 5 | ||||
-rw-r--r-- | audio/libao-nas/Makefile | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/audio/jack-rack/Makefile b/audio/jack-rack/Makefile index 49a4cdb245b..6a594dc0f43 100644 --- a/audio/jack-rack/Makefile +++ b/audio/jack-rack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2012/02/06 12:39:25 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2012/02/15 21:48:08 hans Exp $ # DISTNAME= jack-rack-1.4.7 @@ -24,6 +24,9 @@ CONFIGURE_ARGS+= --disable-lash BUILD_DEFS+= LADSPA_PLUGIN_PATH EGDIR= ${PREFIX}/share/examples/${PKGBASE} LDFLAGS.DragonFly= -lm +LDFLAGS.SunOS+= -lm +CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ + ### ### NOTE: this is a colon-delimited list like e.g. PATH. ### diff --git a/audio/libao-nas/Makefile b/audio/libao-nas/Makefile index 9e58329e535..a538c266d7e 100644 --- a/audio/libao-nas/Makefile +++ b/audio/libao-nas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/11/02 13:17:16 obache Exp $ +# $NetBSD: Makefile,v 1.2 2012/02/15 21:50:17 hans Exp $ .include "../../audio/libao/Makefile.common" @@ -10,6 +10,8 @@ CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/disable-nas/enable-nas/g} BUILD_DIRS= src/plugins/nas INSTALL_DIRS= src/plugins/nas +LIBS.SunOS+= -lm + _LIBAO_BUILDING_PLUGIN= yes .include "../../x11/libXau/buildlink3.mk" |