aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gnash-devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-01-12 00:35:16 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-01-12 00:35:16 +0800
commitb0f67485b2afb5549e511227a78f4316e718ce89 (patch)
tree0a912828e1c92bf1f529921a027ed55feb2f2133 /graphics/gnash-devel
parent9bb2dc8cabf0a9565d52804935ceed60b392797d (diff)
downloadfreebsd-ports-gnome-b0f67485b2afb5549e511227a78f4316e718ce89.tar.gz
freebsd-ports-gnome-b0f67485b2afb5549e511227a78f4316e718ce89.tar.zst
freebsd-ports-gnome-b0f67485b2afb5549e511227a78f4316e718ce89.zip
- Fix plist for !WITH_AGG case
Diffstat (limited to 'graphics/gnash-devel')
-rw-r--r--graphics/gnash-devel/Makefile3
-rw-r--r--graphics/gnash-devel/pkg-plist6
2 files changed, 6 insertions, 3 deletions
diff --git a/graphics/gnash-devel/Makefile b/graphics/gnash-devel/Makefile
index de983652bf15..c0fdb4de5fc1 100644
--- a/graphics/gnash-devel/Makefile
+++ b/graphics/gnash-devel/Makefile
@@ -168,7 +168,9 @@ CONFIGURE_ARGS+= --enable-gui=`${ECHO} ${GNASH_GUIS} | ${TR} ' ' ,`
.if defined(WITH_AGG) && !defined(WITH_OPENGL) && !defined(WITH_CAIRO)
LIB_DEPENDS+= agg.2:${PORTSDIR}/graphics/agg
CONFIGURE_ARGS+= --enable-renderer=agg
+PLIST_SUB+= AGG=""
.elif !defined(WITH_AGG) && defined(WITH_OPENGL) && !defined(WITH_CAIRO)
+PLIST_SUB+= AGG="@comment "
. if defined(WITH_KDE4)
IGNORE= doesn't support OpenGL renderer with KDE4 gui yet. Please rerun 'make config' and select different renderer or disable KDE4 GUI
. endif
@@ -178,6 +180,7 @@ LIB_DEPENDS+= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
. endif
CONFIGURE_ARGS+= --enable-renderer=ogl
.elif !defined(WITH_AGG) && !defined(WITH_OPENGL) && defined(WITH_CAIRO)
+PLIST_SUB+= AGG="@comment "
. if defined(WITH_KDE) || defined(WITH_KDE4)
IGNORE= doesn't support Cairo renderer with KDE/KDE4 gui. Please rerun 'make config' and select different renderer or disable KDE/KDE4 GUIs
. endif
diff --git a/graphics/gnash-devel/pkg-plist b/graphics/gnash-devel/pkg-plist
index 2df96a71cf76..cba7cab2199e 100644
--- a/graphics/gnash-devel/pkg-plist
+++ b/graphics/gnash-devel/pkg-plist
@@ -257,9 +257,9 @@ etc/gnashrc.dist
lib/gnash/libgnashamf-%%GNASHVER%%.so
lib/gnash/libgnashamf.la
lib/gnash/libgnashamf.so
-lib/gnash/libgnashagg.la
-lib/gnash/libgnashagg.so
-lib/gnash/libgnashagg.so.0
+%%AGG%%lib/gnash/libgnashagg.la
+%%AGG%%lib/gnash/libgnashagg.so
+%%AGG%%lib/gnash/libgnashagg.so.0
lib/gnash/libgnashbase.la
lib/gnash/libgnashbase.so
lib/gnash/libgnashbase.so.0