diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-02-13 13:58:26 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-02-13 13:58:26 +0000 |
commit | 185251dce0b1416203cf889ee2a3e0b4942fd09d (patch) | |
tree | ffceca880c93e1ff48f6b1a51665cb2f86babc9e /graphics/libwebp | |
parent | 9d7762457bd6251ab4ffe484c79d36a0e428d1ed (diff) | |
download | pkgsrc-185251dce0b1416203cf889ee2a3e0b4942fd09d.tar.gz |
PR pkg/45934
Fix build on Solaris/x86 with lang/gcc34.
Diffstat (limited to 'graphics/libwebp')
-rw-r--r-- | graphics/libwebp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libwebp/Makefile b/graphics/libwebp/Makefile index 54e7d775178..357b66c51b6 100644 --- a/graphics/libwebp/Makefile +++ b/graphics/libwebp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2011/10/28 13:48:00 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2012/02/13 13:58:26 ryoon Exp $ # DISTNAME= libwebp-0.1.3 @@ -15,6 +15,12 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_LIBTOOL= yes +.include "../../mk/compiler.mk" +# fix PR pkg/45934 +.if !empty(MACHINE_PLATFORM:MSunOS-*-i386) && !empty(CC_VERSION:Mgcc-[23]*) +CPPFLAGS += -D__pic__ +.endif + PKGCONFIG_OVERRIDE+= src/libwebp.pc.in .include "../../graphics/png/buildlink3.mk" |