summaryrefslogtreecommitdiff
path: root/www/firefox38/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-26 10:57:45 +0000
committerjperkin <jperkin>2016-02-26 10:57:45 +0000
commit199514e0409206c95b7044cdde47a318a260b818 (patch)
treeba40492c0d12e5e3607803f3192c1d24923347ba /www/firefox38/Makefile
parent1586215196909b86b4bbf51a908785aef36509d5 (diff)
downloadpkgsrc-199514e0409206c95b7044cdde47a318a260b818.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'www/firefox38/Makefile')
-rw-r--r--www/firefox38/Makefile10
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