summaryrefslogtreecommitdiff
path: root/www/firefox/Makefile
diff options
context:
space:
mode:
authortnn <tnn>2009-08-08 04:14:18 +0000
committertnn <tnn>2009-08-08 04:14:18 +0000
commit0ee2ffaf8f355cfd43369fcf3c0d2ce162bd0700 (patch)
tree1c003b8bc47def3eaa0ee29b21cba7cdd0d680d8 /www/firefox/Makefile
parentea068b270f8897fe9cf6d209e7171f904814ad36 (diff)
downloadpkgsrc-0ee2ffaf8f355cfd43369fcf3c0d2ce162bd0700.tar.gz
needs ALSA libraries on Linux for ogg playback
Diffstat (limited to 'www/firefox/Makefile')
-rw-r--r--www/firefox/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index fe3ed3b3689..44ac508728f 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2009/08/05 02:43:47 tnn Exp $
+# $NetBSD: Makefile,v 1.52 2009/08/08 04:14:18 tnn Exp $
#
DISTNAME= firefox-${FIREFOX_VER}-source
@@ -53,6 +53,7 @@ PYTHON_FOR_BUILD_ONLY= yes
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
MOZILLA=firefox
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
@@ -68,7 +69,6 @@ pre-configure:
cd ${WRKSRC}/js/src && autoconf
cd ${WRKSRC}/nsprpub && autoconf
-
# Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
.PHONY: create-rm-wrapper
pre-configure: create-rm-wrapper
@@ -92,6 +92,9 @@ install-desktop:
${INSTALL_DATA} ${MOZILLA_ICON} \
${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
+.if ${OPSYS} == "Linux"
+.include "../../audio/alsa-lib/buildlink3.mk"
+.endif
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"