diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/echoping/Makefile | 2 | ||||
-rw-r--r-- | net/freeradius2/Makefile | 2 | ||||
-rw-r--r-- | net/freeradius3/Makefile | 2 | ||||
-rw-r--r-- | net/gnu-radius/Makefile | 2 | ||||
-rw-r--r-- | net/prosearch/Makefile | 7 | ||||
-rw-r--r-- | net/traff/Makefile | 2 | ||||
-rw-r--r-- | net/yate/Makefile | 2 |
7 files changed, 9 insertions, 10 deletions
diff --git a/net/echoping/Makefile b/net/echoping/Makefile index d7d0529a5f51..60a4431c1be1 100644 --- a/net/echoping/Makefile +++ b/net/echoping/Makefile @@ -36,7 +36,7 @@ PLIST_SUB= WITH_LDAP="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= yes +USES+= pgsql PING_PLUGINS+= postgresql PLIST_SUB+= WITH_PGSQL="" .else diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index d4ebe57e2a18..4ec631592ea9 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -158,7 +158,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= YES +USES+= pgsql CONFIGURE_ARGS+=--with-rlm_sql_postgresql PLIST_SUB+= PGSQL="" _REQUIRE+= postgresql diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile index 8d64d1c5b1d5..acf0f5f6e3ef 100644 --- a/net/freeradius3/Makefile +++ b/net/freeradius3/Makefile @@ -139,7 +139,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= YES +USES+= pgsql CONFIGURE_ARGS+=--with-rlm_sql_postgresql PLIST_SUB+= PGSQL="" _REQUIRE+= postgresql diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile index 6080525b1f46..6d5b56e5316e 100644 --- a/net/gnu-radius/Makefile +++ b/net/gnu-radius/Makefile @@ -69,7 +69,7 @@ PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= yes +USES+= pgsql CONFIGURE_ARGS+=--with-postgres PLIST_SUB+= PGSQL="" .else diff --git a/net/prosearch/Makefile b/net/prosearch/Makefile index 7b581dcc2047..8e086d9bf8c4 100644 --- a/net/prosearch/Makefile +++ b/net/prosearch/Makefile @@ -107,7 +107,7 @@ ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mariadb-server .endif .if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= yes +USES+= pgsql RUN_DEPENDS+=\ p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg .endif @@ -118,9 +118,8 @@ p5-DBD-PgPP>=0:${PORTSDIR}/databases/p5-DBD-PgPP .endif .if ${PORT_OPTIONS:MPGSQL} || ${PORT_OPTIONS:MPGPP} || ${PORT_OPTIONS:MDB} -USE_PGSQL= yes -RUN_DEPENDS+=\ -${LOCALBASE}/bin/postgres:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server +USES+= pgsql +WANT_PGSQL= client server .endif .if ${PORT_OPTIONS:MSQLITE} diff --git a/net/traff/Makefile b/net/traff/Makefile index 4d1bd5acc0cc..b22da7ac50c7 100644 --- a/net/traff/Makefile +++ b/net/traff/Makefile @@ -31,7 +31,7 @@ CONFIGURE_ARGS+=--enable-mysql .endif .if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= yes +USES+= pgsql CPPFLAGS+= -DwithPGSQL -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lpq CONFIGURE_ARGS+=--enable-postgresql diff --git a/net/yate/Makefile b/net/yate/Makefile index 259cbc68031b..398d2b430f97 100644 --- a/net/yate/Makefile +++ b/net/yate/Makefile @@ -60,7 +60,7 @@ PLIST_SUB+= WITH_MYSQL="@comment " .if ${PORT_OPTIONS:MPGSQL} CONFIGURE_ARGS+= --with-libpq=${LOCALBASE} PLIST_SUB+= WITH_PGSQL="" -USE_PGSQL= yes +USES+= pgsql .else CONFIGURE_ARGS+= --without-libpq PLIST_SUB+= WITH_PGSQL="@comment " |