- Fix WITH_PGSQL knob

PR:		ports/81700
Submitted by:	Ulrich Spoerlein <q@galgenberg.net>
Pointy hat to:	pav
This commit is contained in:
Pav Lucistnik 2005-05-31 07:43:47 +00:00
parent 57b23f591f
commit 038776e75d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136493

View file

@ -46,8 +46,7 @@ CONFIGURE_ARGS+= --with-odbc=no
.endif
.if defined(WITH_POSTGRESQL)
POSTGRESQL_PORT?= databases/postgresql7
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE}
.if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a)
LDFLAGS+= -lssl -lcrypto