--- Makefile.orig Tue Oct 3 19:05:32 2006 +++ Makefile Mon Nov 20 14:30:59 2006 @@ -40,7 +40,8 @@ JPILOT "Enable JPilot support." off \ LDAP "Enable LDAP support." off \ SSL "Enable OpenSSL support." on \ - GTKSPELL "Enable Spell checking support" on + GTKSPELL "Enable Spell checking support" on \ + ONIGURUMA "Enable Oniguruma support" off .include @@ -87,6 +88,13 @@ CONFIGURE_ARGS+=--enable-gtkspell .else CONFIGURE_ARGS+=--disable-gtkspell +.endif + +.if defined(WITH_ONIGURUMA) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libonig.a:${PORTSDIR}/devel/oniguruma +CONFIGURE_ARGS+=--enable-oniguruma +.else +CONFIGURE_ARGS+=--disable-oniguruma .endif MAKEFILES= Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \