aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/galeon/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 348250a244f2..9e0f4e506a6b 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -52,7 +52,6 @@ USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \
--with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \
- --enable-nautilus-view \
${MOZ_CONFIGURE_ARGS}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -D_REENTRANT ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@@ -62,6 +61,15 @@ MAN1= galeon.1
.include <bsd.port.pre.mk>
+.if exists(${X11BASE}/lib/libnautilus.so.0)
+WITH_NAUTILUS= yes
+.endif
+
+.if defined(WITH_NAUTILUS)
+LIB_DEPENDS+= nautilus.0:${PORTSDIR}/x11-fm/nautilus
+CONFIGURE_ARGS+= --enable-nautilus-view
+.endif
+
.if ${OSVERSION} > 500000
# Galeon does not build correctly in -CURRENT if -Werror is passed
# to the compiler.