summaryrefslogtreecommitdiff
path: root/www/firefox31/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox31/Makefile')
-rw-r--r--www/firefox31/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/www/firefox31/Makefile b/www/firefox31/Makefile
index b3b4ca65689..043c1a4fb1e 100644
--- a/www/firefox31/Makefile
+++ b/www/firefox31/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2015/11/18 14:19:55 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2016/02/26 10:57:46 jperkin Exp $
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}esr
# Also update MOZ_BRANCH= in devel/xulrunner31/Makefile
@@ -34,13 +34,9 @@ LDFLAGS.SunOS+= -lm
ALL_ENV+= MOZILLA_PKG_NAME=firefox31
-.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