diff options
author | hans <hans@pkgsrc.org> | 2011-09-14 15:44:23 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-09-14 15:44:23 +0000 |
commit | 31f56362e40c491526d78f2b02bec4d76c5084a0 (patch) | |
tree | 28c9ffca91f0a2ffc18cf0f78e9a863754eb90ef /audio/bmp/Makefile | |
parent | fc7623bfd7d9cf1a958062a12badd5a10dfd0e53 (diff) | |
download | pkgsrc-31f56362e40c491526d78f2b02bec4d76c5084a0.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/bmp/Makefile')
-rw-r--r-- | audio/bmp/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/bmp/Makefile b/audio/bmp/Makefile index 2b0f3ff5d82..5b223b7318e 100644 --- a/audio/bmp/Makefile +++ b/audio/bmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2011/07/21 13:05:46 obache Exp $ +# $NetBSD: Makefile,v 1.36 2011/09/14 15:45:30 hans Exp $ # BMP_ENABLE_ENCODERS= yes @@ -22,6 +22,10 @@ PRINT_PLIST_AWK+= /cdaudio/ { print "$${PLIST.cdaudio}" $$0; next } USE_LANGUAGES= c c++ LDFLAGS.NetBSD+= -lstdc++ -lm +.if ${OPSYS} == "SunOS" +MAKE_ENV+= SunOS_LDFLAGS="-shared -mimpure-text" +.endif + .include "../../audio/id3lib/buildlink3.mk" .include "../../audio/libvorbis/buildlink3.mk" .include "../../multimedia/libogg/buildlink3.mk" |