diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-06-03 15:45:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-06-03 15:45:43 +0000 |
commit | 92b8c107871c616fd9a60781e038daf844852e50 (patch) | |
tree | 4355038fa3ae34b8813abe2220523b33c558cc53 /audio/alsa-lib/Makefile | |
parent | 3b8b32c62f33d61e52ccf76356807f48d9121a5a (diff) | |
download | pkgsrc-92b8c107871c616fd9a60781e038daf844852e50.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/alsa-lib/Makefile')
-rw-r--r-- | audio/alsa-lib/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile index 20190515f25..8ce7017da1e 100644 --- a/audio/alsa-lib/Makefile +++ b/audio/alsa-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2016/04/15 08:47:50 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2016/06/03 15:45:43 jperkin Exp $ DISTNAME= alsa-lib-1.1.1 CATEGORIES= audio @@ -11,6 +11,7 @@ COMMENT= Advanced Linux Sound Architecture (ALSA) LICENSE= gnu-lgpl-v2.1 GNU_CONFIGURE= yes +USE_LANGUAGES= c99 USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake @@ -18,17 +19,17 @@ PKGCONFIG_OVERRIDE+= utils/alsa.pc.in CONFIGURE_ARGS+= --disable-python -LIBS.SunOS+= -lsocket -lnsl -CPPFLAGS.SunOS+= -std=c99 -D_POSIX_C_SOURCE=200112L CPPFLAGS.SunOS+= -D__EXTENSIONS__ -DBSD_COMP -DMAP_FILE=0 +CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t CPPFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t -CPPFLAGS.SunOS+= -D__u32=uint32_t -D__u64=uint64_t -CPPFLAGS.SunOS+= -Dbswap_64=BSWAP_64 -Dbswap_32=BSWAP_32 -Dbswap_16=BSWAP_16 +CPPFLAGS.SunOS+= -D__u32=uint32_t -D__u64=uint64_t CPPFLAGS.NetBSD+= -D__u32=uint32_t -D__u64=uint64_t CPPFLAGS.FreeBSD+= -D__u32=uint32_t -D__u64=uint64_t +LIBS.SunOS+= -lsocket -lnsl + CONFIGURE_ARGS.SunOS+= --without-versioned BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=Versions |