aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql55-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-06-11 20:32:44 +0800
committerale <ale@FreeBSD.org>2005-06-11 20:32:44 +0800
commit262f99b5f74ae6453280a4cf47ab09a25b417c20 (patch)
tree0af090274fe571fa3208f15013f8570b7d0e49f3 /databases/mysql55-server
parent69ae6b7ad87cabe49abf9a6d5fc5d0adacc41782 (diff)
downloadfreebsd-ports-gnome-262f99b5f74ae6453280a4cf47ab09a25b417c20.tar.gz
freebsd-ports-gnome-262f99b5f74ae6453280a4cf47ab09a25b417c20.tar.zst
freebsd-ports-gnome-262f99b5f74ae6453280a4cf47ab09a25b417c20.zip
Fix compilation on FreeBSD 4.X.
Submitted by: many
Diffstat (limited to 'databases/mysql55-server')
-rw-r--r--databases/mysql55-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index f173ae2e955c..76138ff78ad9 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-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)