diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-30 12:22:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-30 12:22:45 +0000 |
commit | 7dbda9e2ef22d8dfe0c31963596df9d7e49ef236 (patch) | |
tree | 6710a61e522b2b73ed619c2268ebbc5765b48d2b /graphics/moz-flash | |
parent | 262962b8cbca9d6f0d89214cace33102997e9cb4 (diff) | |
download | pkgsrc-7dbda9e2ef22d8dfe0c31963596df9d7e49ef236.tar.gz |
Bump PKGREVISIONs of libflash, flashplayer, and moz-flash. These
packages can now use audio/oss for OSS audio support. Convert to use
buildlink2 and make libflash.so link against the proper libraries so
that all inter-library dependencies are recorded. Also build moz-flash
using libtool instead of guessing at the link command for the shared
module.
Diffstat (limited to 'graphics/moz-flash')
-rw-r--r-- | graphics/moz-flash/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/graphics/moz-flash/Makefile b/graphics/moz-flash/Makefile index 0922867e5e0..16bb7d9ccaa 100644 --- a/graphics/moz-flash/Makefile +++ b/graphics/moz-flash/Makefile @@ -1,27 +1,29 @@ -# $NetBSD: Makefile,v 1.6 2002/07/11 14:24:01 abs Exp $ +# $NetBSD: Makefile,v 1.7 2003/01/30 12:22:48 jlam Exp $ # +.include "../libflash/Makefile.common" + PKGNAME= moz-flash-1.0 PKGREVISION= 2 MAINTAINER= joda@netbsd.org -COMMENT= Mozilla open source flash(tm) plugin - -PATCHDIR= ${.CURDIR}/../../graphics/libflash/patches -FILESDIR= ${.CURDIR}/../../graphics/libflash/files -DISTINFO_FILE= ${.CURDIR}/../../graphics/libflash/distinfo +COMMENT= Mozilla open source Flash(tm) plugin -DEPENDS+= libflash>=0.4.10nb1:../../graphics/libflash DEPENDS+= mozilla>=0.9.9:../../www/mozilla +USE_BUILDLINK2= yes USE_X11BASE= yes +USE_LIBTOOL= yes +BUILD_DIRS= ${WRKSRC}/Plugin +CPPFLAGS+= -DDEV_DSP=\\\"${DEVOSSSOUND}\\\" +MAKE_ENV+= SHLIBTOOL="${PKGSHLIBTOOL}" +MAKE_ENV+= MOZ_PLUGDIR="${MOZ_PLUGDIR}" MOZ_PLUGDIR= ${X11PREFIX}/lib/mozilla/plugins -do-build: - cd ${WRKSRC}/Plugin && ${SETENV} ${MAKE_ENV} ${MAKE} - do-install: - cd ${WRKSRC}/Plugin && ${INSTALL_PROGRAM} npflash.so ${MOZ_PLUGDIR} + cd ${WRKSRC}/Plugin && \ + ${INSTALL_PROGRAM} .libs/npflash.so ${MOZ_PLUGDIR} -.include "../../graphics/libflash/Makefile.common" +.include "../libflash/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" |