aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-06 17:56:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-06 17:56:46 +0000
commitb2a345eae55e2bece034c2ad6695e21d89d48727 (patch)
tree4296efc98353f4e6e533210edf7c848c50dad8fb /graphics
parent454998bc3572ea7f9bcde189f587dcbfd8cffaa3 (diff)
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnash/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index 0f545cbc35a3..425b32cfce12 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnash
PORTVERSION= 0.8.5
+PORTREVISION= 1
CATEGORIES= graphics
# getgnash.org is slow
MASTER_SITES= ${MASTER_SITE_GNU} \
@@ -35,10 +36,6 @@ USE_GNOME= pkgconfig libxml2
USE_XORG= x11 xau xdmcp xext xi xinerama ice sm
USE_AUTOTOOLS= libltdl:15
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- PTHREAD_LIBS="${PTHREAD_LIBS}" \
- PTHREAD_CFLAGS="${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
--with-boost-lib="${LOCALBASE}/lib" \
--disable-testsuite \
@@ -57,6 +54,7 @@ OPTIONS= PLUGIN "Enable browser plugin" on \
CYGNAL "Enable Cygnal media server" off \
GTK "GUI: GTK (required for Mozilla/Firefox plugin)" on \
KDE "GUI: KDE 3.x (required for Konqueror 3.x plugin)" off \
+ KDE4 "GUI: KDE 4.x (required for Konqueror 4.x plugin)" off \
AGG "Renderer: AGG" on \
OPENGL "Renderer: OpenGL (broken)" off \
CAIRO "Renderer: Cairo (experimental)" off \
@@ -64,10 +62,6 @@ OPTIONS= PLUGIN "Enable browser plugin" on \
GSTREAMER "Media handler: GStreamer" off \
SPEEX "Speex codec support" on
-# kde4-gnash segfaults, so that's still work in progress; feel free
-# to try though, plist and everything else should be correct
-# KDE4 "GUI: KDE 4.x (required for Konqueror 4.x plugin)" off \
-
.include <bsd.port.options.mk>
# Cygnal option processing
@@ -146,12 +140,14 @@ USE_QT_VER= 4
QT_COMPONENTS= moc_build
USE_KDE4= kdehier kdelibs
CONFIGURE_ENV+= KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config"
+. if exists(${LOCALBASE}/lib/libkdeui.so)
+IGNORE= KDE4 GUI can't be built when KDE3 is installed. Please rerun 'make config' and disable KDE4 GUI or deinstall kdelibs-3
+. endif
.else
PLIST_SUB+= KDE4="@comment "
.endif
.if defined(WITH_KDE) && defined defined(WITH_KDE4)
-# This is problem of FreeBSD ports, not Gnash
IGNORE= KDE and KDE4 GUIs are mutually exclusive. Please rerun 'make config' and disable one of these
.endif