mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Add a PGSQL option to allow user to disable support for postgresql, keep
postgresql on by default to avoid rebuilding on clusters PR: ports/167346 Submitted by: amdmi3
This commit is contained in:
parent
99705eece8
commit
a06e7eed1c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296102
@ -91,8 +91,6 @@ USE_GMAKE= yes
|
||||
USE_BISON= build
|
||||
USE_OPENSSL= yes
|
||||
WANT_GNOME= yes
|
||||
WANT_PGSQL_VER= 90+
|
||||
USE_PGSQL= yes
|
||||
|
||||
USE_XORG= xaw xrandr
|
||||
USE_GL= gl glu
|
||||
@ -109,7 +107,8 @@ OPTIONS= WEBDAV "Support webdav protocol" off \
|
||||
MMEDIA "Enable multimedia backend for impress" off \
|
||||
SDK "Build with SDK" off \
|
||||
SVG "Enable SVG support" on \
|
||||
DEBUG "Build with debug symbols and verbose output" off
|
||||
DEBUG "Build with debug symbols and verbose output" off \
|
||||
PGSQL "Build with PostgreSQL-SDBC driver" on
|
||||
|
||||
CONFIGURE_ENV= GPERF=${LOCALBASE}/bin/gperf \
|
||||
DMAKE=${LOCALBASE}/bin/dmake \
|
||||
@ -238,6 +237,12 @@ MAKE_ENV+= USE_GMAKE=1 DESTDIR=${LODESTDIR}
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/db${BDB_VER}
|
||||
|
||||
.if defined(WITH_PGSQL)
|
||||
USE_PGSQL= yes
|
||||
WANT_PGSQL_VER= 90+
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-postgresql-sdbc
|
||||
.endif
|
||||
.if defined(WITHOUT_SYSTRAY)
|
||||
CONFIGURE_ARGS+= --disable-systray
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user