aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql41-server
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-06-11 12:32:44 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-06-11 12:32:44 +0000
commitcee3a2fc9f55b4f700b02935be99886ffee075c6 (patch)
tree780a0f74943716d05a21ebd507ad32b091232401 /databases/mysql41-server
parent3495fdae2cfc579f4c9c9f9708b84ecc19da3b59 (diff)
downloadports-cee3a2fc9f55b4f700b02935be99886ffee075c6.tar.gz
ports-cee3a2fc9f55b4f700b02935be99886ffee075c6.zip
Fix compilation on FreeBSD 4.X.
Submitted by: many
Notes
Notes: svn path=/head/; revision=137261
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)