aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql41-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql41-server')
-rw-r--r--databases/mysql41-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index ec4e83882f8f..16a1f0daf8e3 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -89,8 +89,9 @@ CFLAGS+= ${PTHREAD_CFLAGS}
.if ${OSVERSION} < 500000
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
-CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CXX= ${CC}
.endif
.if defined(BUILD_OPTIMIZED)