Add DEPENDS for libflashsupport for non Linux systems.
Thanks to Tomas Bodzar for catching this
This commit is contained in:
parent
1a1ebbf149
commit
2735d800df
3 changed files with 14 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.6 2011/03/28 12:24:48 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/10/27 11:46:20 abs Exp $
|
||||
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= multimedia www
|
||||
MASTER_SITES= http://download.macromedia.com/pub/labs/flashplayer10/
|
||||
MASTER_SITES+= ftp://ftp.dvo.ru/pub/Gentoo/distfiles/
|
||||
|
@ -29,6 +30,10 @@ EMUL_REQD= suse>=10.0
|
|||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} != "Linux"
|
||||
DEPENDS+= libflashsupport-[0-9]*:../../multimedia/libflashsupport
|
||||
.endif
|
||||
|
||||
# Defaults so lintpkgsrc is happy
|
||||
FLASH_VERS= 10.0.0.525
|
||||
.if ${EMUL_PLATFORM} == "linux-i386"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.10 2011/09/12 23:35:15 abs Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2011/10/27 11:46:20 abs Exp $
|
||||
|
||||
PKGNAME= adobe-flash-plugin-${FLASH_VERSION:S/r/./}
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= multimedia www
|
||||
MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/
|
||||
|
||||
|
@ -39,6 +39,10 @@ NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
|
|||
|
||||
.include "options.mk"
|
||||
|
||||
.if ${OPSYS} != "Linux"
|
||||
DEPENDS+= libflashsupport-[0-9]*:../../multimedia/libflashsupport
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/usr/lib/flash-plugin/libflashplayer.so \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.3 2011/09/12 23:35:15 abs Exp $
|
||||
# $NetBSD: options.mk,v 1.4 2011/10/27 11:46:20 abs Exp $
|
||||
#
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin
|
||||
|
@ -13,7 +13,7 @@ PKG_SUPPORTED_OPTIONS= nspluginwrapper
|
|||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux"
|
||||
PKG_SUGGESTED_OPTIONS= nspluginwrapper
|
||||
PKG_SUGGESTED_OPTIONS= nspluginwrapper
|
||||
.endif
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
|
Loading…
Reference in a new issue