aboutsummaryrefslogtreecommitdiffstats
path: root/www/mnogosearch
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-01-30 07:28:50 +0800
committerache <ache@FreeBSD.org>2001-01-30 07:28:50 +0800
commit69950b5e96e8eb44228e958c60046f613196d0f4 (patch)
tree240e8492069cd6b9dcb5cc78f2cbaae5ed450874 /www/mnogosearch
parentf9b1d643cc6cacfdf419657e48fd2a59b79e4578 (diff)
downloadfreebsd-ports-gnome-69950b5e96e8eb44228e958c60046f613196d0f4.tar.gz
freebsd-ports-gnome-69950b5e96e8eb44228e958c60046f613196d0f4.tar.zst
freebsd-ports-gnome-69950b5e96e8eb44228e958c60046f613196d0f4.zip
Defaulting not to mysql but to mnoGoSearch built-in database
Diffstat (limited to 'www/mnogosearch')
-rw-r--r--www/mnogosearch/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index 78827749c95b..dce50ebdcc8c 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/Makefile
@@ -36,25 +36,23 @@ CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE}/pgsql
LIB_DEPENDS= msql.1:${PORTSDIR}/databases/msql
CONFIGURE_ARGS+= --with-msql=${LOCALBASE}
-.else
+.elif defined(WITH_MNOGO_MYSQL)
# default to mysql
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
-.if !defined(WITH_MNOGO_MYSQL)
+.else
pre-fetch:
@${ECHO}
- @${ECHO} "Defaulting to mnoGoSearch with mysql support."
+ @${ECHO} "Defaulting to mnoGoSearch with built-in database."
@${ECHO}
- @${ECHO} "You may alternately build mnoGoSearch with either msql or"
- @${ECHO} "postgresql support by invoking make with WITH_MNOGO_MSQL=yes or"
- @${ECHO} "WITH_MNOGO_PGSQL=yes respectively."
+ @${ECHO} "You may alternately build mnoGoSearch with either msql, mysql or"
+ @${ECHO} "postgresql support by invoking make with WITH_MNOGO_MSQL=yes,"
+ @${ECHO} "WITH_MNOGO_MYSQL=yes or WITH_MNOGO_PGSQL=yes respectively."
@${ECHO}
.endif
-.endif
-
pre-install:
@${MKDIR} ${PREFIX}/share/mnogosearch