summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsbd <sbd>2013-05-08 09:11:19 +0000
committersbd <sbd>2013-05-08 09:11:19 +0000
commitb9567f047eee5eea8478c44df61a46612d1ead2c (patch)
tree1e23839572ad7b83c5bbda3269e2a293b908b34c /devel
parent07ecfb69a52f06479dc6b6a0a913e14dfa47f186 (diff)
downloadpkgsrc-b9567f047eee5eea8478c44df61a46612d1ead2c.tar.gz
Move the sps, vorbis and tremor PLIST_VARS and settings to mozilla-common.mk
Diffstat (limited to 'devel')
-rw-r--r--devel/xulrunner/Makefile15
-rw-r--r--devel/xulrunner/mozilla-common.mk15
2 files changed, 15 insertions, 15 deletions
diff --git a/devel/xulrunner/Makefile b/devel/xulrunner/Makefile
index 043a967b165..29d7f687b88 100644
--- a/devel/xulrunner/Makefile
+++ b/devel/xulrunner/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.103 2013/04/05 13:30:17 ryoon Exp $
+# $NetBSD: Makefile,v 1.104 2013/05/08 09:11:19 sbd Exp $
.include "dist.mk"
PKGNAME= xulrunner-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/esr//}
@@ -34,19 +34,6 @@ LDFLAGS.SunOS+= -lm
.include "mozilla-common.mk"
.include "options.mk"
-PLIST_VARS+= sps vorbis tremor
-
-.if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*)
-PLIST.sps= yes
-.endif
-
-.if !empty(MACHINE_PLATFORM:MLinux-*-arm*) || ${OPSYS} == "DragonFly" \
- || ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
-PLIST.tremor= yes
-.else
-PLIST.vorbis= yes
-.endif
-
pre-configure:
cd ${WRKSRC} && autoconf
cd ${WRKSRC}/js/src && autoconf
diff --git a/devel/xulrunner/mozilla-common.mk b/devel/xulrunner/mozilla-common.mk
index 9fa80cf389a..957e0aa2375 100644
--- a/devel/xulrunner/mozilla-common.mk
+++ b/devel/xulrunner/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.47 2013/04/15 15:21:26 mef Exp $
+# $NetBSD: mozilla-common.mk,v 1.48 2013/05/08 09:11:20 sbd Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -82,6 +82,19 @@ CONFIGURE_ARGS+= --enable-libjpeg-turbo
CONFIGURE_ARGS+= --disable-libjpeg-turbo
.endif
+PLIST_VARS+= sps vorbis tremor
+
+.if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*)
+PLIST.sps= yes
+.endif
+
+.if !empty(MACHINE_PLATFORM:MLinux-*-arm*) || ${OPSYS} == "DragonFly" \
+ || ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
+PLIST.tremor= yes
+.else
+PLIST.vorbis= yes
+.endif
+
#
# pysqlite2 is used by xulrunner's Python virtualenv. If pysqlite2 isn't
# installed at build time it will attempt to download it instead, so the