diff options
author | sbd <sbd@pkgsrc.org> | 2013-05-08 09:11:19 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-05-08 09:11:19 +0000 |
commit | a4f52c3c81b4065f3795b11d45c5f66e11c0570f (patch) | |
tree | 1e23839572ad7b83c5bbda3269e2a293b908b34c /devel | |
parent | e23767d6abbfa626b27ca37c872fa3d700de039c (diff) | |
download | pkgsrc-a4f52c3c81b4065f3795b11d45c5f66e11c0570f.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/Makefile | 15 | ||||
-rw-r--r-- | devel/xulrunner/mozilla-common.mk | 15 |
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 |