diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-01-09 10:40:18 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-01-09 10:40:18 +0000 |
commit | d1fe217452115e6b7ab98c8f9b4c35f4f28e9dbb (patch) | |
tree | 13384b0064cc2224d2eb22363925656cb8c9b574 /graphics | |
parent | b70181ae365046cbc35198d03c4eacbc40353a85 (diff) | |
download | pkgsrc-d1fe217452115e6b7ab98c8f9b4c35f4f28e9dbb.tar.gz |
Only use -lsunmath with Sun Studio.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libpano13/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index db7281744ce..a5f9781544f 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2013/02/16 11:18:00 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2014/01/09 10:40:18 jperkin Exp $ DISTNAME= libpano13-2.9.18 PKGREVISION= 3 @@ -15,6 +15,12 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE= libpano13.pc.in +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" && empty(PKGSRC_COMPILER:Msunpro) +BUILDLINK_TRANSFORM+= rm:-lsunmath +.endif + .include "../../mk/jpeg.buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" |