aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-01-19 05:06:09 +0800
committerRene Ladan <rene@FreeBSD.org>2011-01-19 05:06:09 +0800
commit5af52ba53a3dadc207749b6e26ba0fe151751438 (patch)
treed9f0943bc15fa34d851fb061eb9a07ea276cb62b
parentd6e6211a77865ab8743943b42cd7308568c081aa (diff)
downloadfreebsd-ports-gnome-5af52ba53a3dadc207749b6e26ba0fe151751438.tar.gz
freebsd-ports-gnome-5af52ba53a3dadc207749b6e26ba0fe151751438.tar.zst
freebsd-ports-gnome-5af52ba53a3dadc207749b6e26ba0fe151751438.zip
Try fixing the old, forbidden Chromium port and backport some changes from
the development repository: - update MASTER_SITES to those which still provide the old distfile - add dependency on multimedia/ffmpeg, x11-fonts/droid-fonts-ttf [1], and xtst [2] - Allow building with Python 2.7 and higher [3] Build-tested on local laptop with both GCONF=on and GCONF=off Submitted by: Thomas Spurr [tspurr119 gmail.com] [1] tabthorpe [2] jsa [3] Feature safe: yes
-rw-r--r--www/chromium/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index ad82d2587f05..dc9554a832be 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -9,7 +9,8 @@ PORTNAME= chromium
DISTVERSIONPREFIX= courgette-redacted-
DISTVERSION= 6.0.472.63
CATEGORIES= www
-MASTER_SITES= http://chromium.hybridsource.org/old/ports/ \
+MASTER_SITES= http://download.goodking.org/downloads/ \
+ ftp://rene-ladan.nl/pub/distfiles/ \
CRITICAL
MAINTAINER= rene@FreeBSD.org
@@ -24,6 +25,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
# minimal version of nss, LIB_DEPENDS does not enforce this
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
+ avformat:${PORTSDIR}/multimedia/ffmpeg \
cairo.2:${PORTSDIR}/graphics/cairo \
dbus-1.3:${PORTSDIR}/devel/dbus \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
@@ -33,18 +35,19 @@ LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
nss3.1:${PORTSDIR}/security/nss \
gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring
-RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
-
FORBIDDEN= several security vulnerabilities
+RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins \
+ ${LOCALBASE}/lib/X11/fonts/Droid/fonts.dir:${PORTSDIR}/x11-fonts/droid-fonts-ttf
+
ONLY_FOR_ARCHS= i386 amd64
USE_XZ= yes
USE_BISON= build
-USE_PYTHON= 2.6 # only needed at build time
+USE_PYTHON= 2.6+ # only needed at build time
USE_PERL5_BUILD=yes
USE_GMAKE= yes
MAN1= chrome.1
-USE_XORG= scrnsaverproto
+USE_XORG= scrnsaverproto xtst
USE_GNOME= glib20 gtk20 dconf libxslt
LICENSE_COMB= multi
LICENSE= BSD LGPL21 MPL