pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45888: graphics/SDL_image (1.2.12) libtool usage error
The following reply was made to PR pkg/45888; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/45888: graphics/SDL_image (1.2.12) libtool usage error
Date: Thu, 02 Feb 2012 23:59:37 +0700
Date: Thu, 2 Feb 2012 14:20:05 +0000 (UTC)
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Message-ID: <20120202142005.25E8D63C41D%www.NetBSD.org@localhost>
| This is not using ${CC} and libtool is built to expect the compiler as
| cc. --tag CC tells it explicitly to not care about the command name.
I have no idea what the difference is between 5.0 & current, or why it worked
on the latter, but this was enough of a clue for me to find that the following
patch (added as graphics/SDL_image/patches/patch-aa - and I know that's not
the current naming convention...) allows the build to complete.
kre
ps: wiz: no BS this time!
$NetBSD$
--- Makefile.in.orig 2012-01-21 01:51:33.000000000 +0000
+++ Makefile.in 2012-02-02 16:54:25.000000000 +0000
@@ -80,7 +80,7 @@
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)
Home |
Main Index |
Thread Index |
Old Index