diff options
author | jperkin <jperkin> | 2016-02-26 10:57:45 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-26 10:57:45 +0000 |
commit | 199514e0409206c95b7044cdde47a318a260b818 (patch) | |
tree | ba40492c0d12e5e3607803f3192c1d24923347ba /www/firefox38/Makefile | |
parent | 1586215196909b86b4bbf51a908785aef36509d5 (diff) | |
download | pkgsrc-199514e0409206c95b7044cdde47a318a260b818.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'www/firefox38/Makefile')
-rw-r--r-- | www/firefox38/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/www/firefox38/Makefile b/www/firefox38/Makefile index 0eb10ded132..d8a97b526d4 100644 --- a/www/firefox38/Makefile +++ b/www/firefox38/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2016/02/19 14:42:33 ryoon Exp $ +# $NetBSD: Makefile,v 1.14 2016/02/26 10:57:46 jperkin Exp $ FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} MOZ_BRANCH= 38.6 @@ -32,13 +32,9 @@ LDFLAGS.SunOS+= -lm ALL_ENV+= MOZILLA_PKG_NAME=firefox38 -.include "../../mk/bsd.prefs.mk" - # Avoid ld "invalid section index" errors. -.if ${OPSYS} == "SunOS" -BUILDLINK_TRANSFORM+= rm:-fdata-sections -BUILDLINK_TRANSFORM+= rm:-ffunction-sections -.endif +BUILDLINK_TRANSFORM.SunOS+= rm:-fdata-sections +BUILDLINK_TRANSFORM.SunOS+= rm:-ffunction-sections LDFLAGS.DragonFly= -lplc4 -lnspr4 LDFLAGS.FreeBSD= -lplc4 -lnspr4 |