diff options
author | tron <tron@pkgsrc.org> | 2013-12-28 16:26:06 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-12-28 16:26:06 +0000 |
commit | ab401cd4d05a0855cc631bf1736e65e5ea6188c2 (patch) | |
tree | 5cdccea5b0c0ca89100091dedb730478f8902914 /graphics/libwebp | |
parent | a6e4a9f8130e1ae0fb0bffc58b351767c808114e (diff) | |
download | pkgsrc-ab401cd4d05a0855cc631bf1736e65e5ea6188c2.tar.gz |
Fix build under Solaris with GCC.
Diffstat (limited to 'graphics/libwebp')
-rw-r--r-- | graphics/libwebp/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/libwebp/Makefile b/graphics/libwebp/Makefile index 52b3fd3d7a0..415b39e38b9 100644 --- a/graphics/libwebp/Makefile +++ b/graphics/libwebp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/09/01 09:53:50 adam Exp $ +# $NetBSD: Makefile,v 1.10 2013/12/28 16:26:06 tron Exp $ DISTNAME= libwebp-0.3.1 CATEGORIES= graphics @@ -19,6 +19,11 @@ GNU_CONFIGURE= yes CPPFLAGS += -D__pic__ .endif +.if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc-*) +BUILDLINK_TRANSFORM+= rename:-mt:-pthreads +BUILDLINK_TRANSFORM+= rename:-threads:-pthreads +.endif + PKGCONFIG_OVERRIDE+= src/libwebp.pc.in .include "../../graphics/png/buildlink3.mk" |