aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-17 18:45:36 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-17 18:45:36 +0000
commit67e7505446a3e2f5737e91d6be94226192c52abc (patch)
treeee10ca71ab5c79dd60f2559b0868f9c4a870c8ff /www
parent2cebd4deb3e2bb1c36a1ccd61ca9d721bfa8854e (diff)
downloadports-67e7505446a3e2f5737e91d6be94226192c52abc.tar.gz
ports-67e7505446a3e2f5737e91d6be94226192c52abc.zip
Notes
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.