summaryrefslogtreecommitdiffstats
path: root/databases/mysql54-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-06-11 12:32:44 +0000
committerale <ale@FreeBSD.org>2005-06-11 12:32:44 +0000
commit262f99b5f74ae6453280a4cf47ab09a25b417c20 (patch)
tree0af090274fe571fa3208f15013f8570b7d0e49f3 /databases/mysql54-server
parent69ae6b7ad87cabe49abf9a6d5fc5d0adacc41782 (diff)
downloadFreeBSD-ports-262f99b5f74ae6453280a4cf47ab09a25b417c20.zip
FreeBSD-ports-262f99b5f74ae6453280a4cf47ab09a25b417c20.tar.gz
Fix compilation on FreeBSD 4.X.
Submitted by: many
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r--databases/mysql54-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index f173ae2..76138ff 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -90,8 +90,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)
OpenPOWER on IntegriCloud