aboutsummaryrefslogtreecommitdiffstats
path: root/java/sablevm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/sablevm/Makefile')
-rw-r--r--java/sablevm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile
index 303d30edc0ae..278a75446f94 100644
--- a/java/sablevm/Makefile
+++ b/java/sablevm/Makefile
@@ -29,7 +29,7 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
CONFIGURE_ENV= CFLAGS="-D_P1003_1B_VISIBLE -pthread -I${PREFIX}/include -L${PREFIX}/lib"
-.if defined(WITH_GNOMELIBS)
+.if defined(WITH_GNOMELIBS) || exists(${X11BASE}/include/gnome-1.0/libart_lgpl/art_misc.h)
USE_GNOMENG= yes
USE_GNOME= gnomelibs
PLIST= ${PKGDIR}/pkg-plist.gnome