Move the sps, vorbis and tremor PLIST_VARS and settings to mozilla-common.mk
This commit is contained in:
parent
e23767d6ab
commit
a4f52c3c81
2 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue