From f02e63ad069d9ff3d7fa5b6edd04ad5d41f5fb47 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 14 Feb 2012 13:02:44 +0000 Subject: [PATCH] Fix includes/libs if using WITH_PCRE PR: ports/165133 Reported by: Henrik Larsson --- ftp/proftpd/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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