diff options
-rw-r--r-- | www/mnoGoSearch-current/Makefile | 14 | ||||
-rw-r--r-- | www/mnogosearch/Makefile | 14 | ||||
-rw-r--r-- | www/mnogosearch31/Makefile | 14 |
3 files changed, 18 insertions, 24 deletions
diff --git a/www/mnoGoSearch-current/Makefile b/www/mnoGoSearch-current/Makefile index 7882774..dce50eb 100644 --- a/www/mnoGoSearch-current/Makefile +++ b/www/mnoGoSearch-current/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 diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile index 7882774..dce50eb 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 diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile index 7882774..dce50eb 100644 --- a/www/mnogosearch31/Makefile +++ b/www/mnogosearch31/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 |