aboutsummaryrefslogtreecommitdiff
path: root/www/mnogosearch
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-01-29 23:28:50 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-01-29 23:28:50 +0000
commit4892fd8a562e2a582b850344c4825a5a063d6b0d (patch)
tree8647156e11e92b0f4402d6c44c22d7df9159b240 /www/mnogosearch
parentf1816b61beef99812306902ed4df9a5401f54b30 (diff)
downloadports-4892fd8a562e2a582b850344c4825a5a063d6b0d.tar.gz
ports-4892fd8a562e2a582b850344c4825a5a063d6b0d.zip
Notes
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