diff options
author | wiz <wiz@pkgsrc.org> | 2012-02-02 21:35:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-02-02 21:35:19 +0000 |
commit | b33e07fb1c1eb6121a5dc7a74012e443dff7af8f (patch) | |
tree | 781eb29f85c2147a0b766b41e9710b3879c247fb /graphics | |
parent | e53c49a2201351fc94a1421e847e7c137256cb0d (diff) | |
download | pkgsrc-b33e07fb1c1eb6121a5dc7a74012e443dff7af8f.tar.gz |
Fix build on NetBSD 5.0. From Robert Elz in PR 45888.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/SDL_image/distinfo | 3 | ||||
-rw-r--r-- | graphics/SDL_image/patches/patch-Makefile.in | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/SDL_image/distinfo b/graphics/SDL_image/distinfo index d4ce3d3c08d..66a43bd9ab2 100644 --- a/graphics/SDL_image/distinfo +++ b/graphics/SDL_image/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.15 2012/01/28 11:00:01 wiz Exp $ +$NetBSD: distinfo,v 1.16 2012/02/02 21:35:19 wiz Exp $ SHA1 (SDL_image-1.2.12.tar.gz) = 5e3e393d4e366638048bbb10d6a269ea3f4e4cf2 RMD160 (SDL_image-1.2.12.tar.gz) = 206990959c6b225286c0a19bc05b991c6bc2c3e8 Size (SDL_image-1.2.12.tar.gz) = 2231074 bytes +SHA1 (patch-Makefile.in) = e8ae18e00af376676b292dc8419ed0d50c038db3 diff --git a/graphics/SDL_image/patches/patch-Makefile.in b/graphics/SDL_image/patches/patch-Makefile.in new file mode 100644 index 00000000000..d848d9ad780 --- /dev/null +++ b/graphics/SDL_image/patches/patch-Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile.in,v 1.1 2012/02/02 21:35:21 wiz Exp $ + +Explicitly tell libtool the compiler type. Seems to be needed on NetBSD 5.0. + +--- Makefile.in.orig 2012-01-21 01:51:33.000000000 +0000 ++++ Makefile.in +@@ -80,7 +80,7 @@ am_libSDL_image_la_OBJECTS = IMG.lo IMG_ + IMG_tif.lo IMG_xcf.lo IMG_xpm.lo IMG_xv.lo IMG_webp.lo \ + $(am__objects_1) + libSDL_image_la_OBJECTS = $(am_libSDL_image_la_OBJECTS) +-libSDL_image_la_LINK = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++libSDL_image_la_LINK = $(LIBTOOL) --tag CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(OBJCLD) $(AM_OBJCFLAGS) $(OBJCFLAGS) \ + $(libSDL_image_la_LDFLAGS) $(LDFLAGS) -o $@ + PROGRAMS = $(noinst_PROGRAMS) |