diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index ff9c262d1c63..729befd45efe 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -352,6 +352,8 @@ PLIST_SUB+= NLS="@comment " .endif .if !defined(WITHOUT_PCRE) +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include +LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+= --enable-pcre .else