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 | |
parent | fc7623bfd7d9cf1a958062a12badd5a10dfd0e53 (diff) | |
download | pkgsrc-31f56362e40c491526d78f2b02bec4d76c5084a0.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/bmp')
-rw-r--r-- | audio/bmp/Makefile | 6 | ||||
-rw-r--r-- | audio/bmp/distinfo | 3 | ||||
-rw-r--r-- | audio/bmp/patches/patch-at | 13 |
3 files changed, 20 insertions, 2 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" diff --git a/audio/bmp/distinfo b/audio/bmp/distinfo index f13007a0585..d6abddba250 100644 --- a/audio/bmp/distinfo +++ b/audio/bmp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2006/07/31 21:43:55 jmmv Exp $ +$NetBSD: distinfo,v 1.13 2011/09/14 15:45:30 hans Exp $ SHA1 (bmp-0.9.7-ipv6-simple.diff) = d80943d504eeb06d96c2ca73ecc80a89b77e7c77 RMD160 (bmp-0.9.7-ipv6-simple.diff) = 96072b98f774ed8614818664d0fe173ea5a3e4e5 @@ -13,3 +13,4 @@ SHA1 (patch-ap) = 76d750aa820e9710d2520d3cec067d91346dc5aa SHA1 (patch-aq) = 56f42dbd772304f9205b519b2654487b9a45091b SHA1 (patch-ar) = 037d02b72cee6b2fdd24f9d41c28ec1220dcdf67 SHA1 (patch-as) = dc1d9dc2100664c1ab4448234239d45741907604 +SHA1 (patch-at) = a643d4bc95d84424226f742675abc87c18834af5 diff --git a/audio/bmp/patches/patch-at b/audio/bmp/patches/patch-at new file mode 100644 index 00000000000..3b300573106 --- /dev/null +++ b/audio/bmp/patches/patch-at @@ -0,0 +1,13 @@ +$NetBSD: patch-at,v 1.1 2011/09/14 15:45:30 hans Exp $ + +--- Input/mpg123/Makefile.in.orig 2011-09-13 15:02:57.309943222 +0200 ++++ Input/mpg123/Makefile.in 2011-09-13 15:15:51.386590197 +0200 +@@ -113,7 +113,7 @@ LTCOMPILE = $(LIBTOOL) --tag=CC --mode=c + $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) + LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++ $(AM_LDFLAGS) $(LDFLAGS) $(SunOS_LDFLAGS) -o $@ + CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS) + LTCCASCOMPILE = $(LIBTOOL) --mode=compile $(CCAS) $(AM_CCASFLAGS) \ + $(CCASFLAGS) |