diff options
-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" |