Fixup fromcvs/togit conversion
[pkgsrcv2.git] / math / gsl / hacks.mk
1 # $NetBSD$
2
3 .include "../../mk/compiler.mk"
4
5 ### [Mon Feb 28 12:11:29 2005 UTC : dmcmahill]
6 ### At least gcc-3.3.5 failed to compile gsl-1.6/statistics/lag1.c
7 ### with -mcpu=v9 on a solaris/sparc system.
8 ###
9 .if (${OPSYS} == "SunOS") && !empty(MACHINE_ARCH:Msparc) && \
10     !empty(CC_VERSION:M*gcc*)
11 PKG_HACKS+=             solaris-sparc-ice
12 BUILDLINK_TRANSFORM+=   rm:-mcpu=v9
13 .endif