- Don't link in postgresql client library unless specifically asked for

Approved by: ehaupt (mentor)
This commit is contained in:
Diane Bruce 2007-02-27 18:44:10 +00:00
parent 1c88b4febd
commit 1956aaa1ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186148

View file

@ -7,7 +7,7 @@
PORTNAME= xemacs
PORTVERSION= ${XEMACS_VER}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES+= editors
MASTER_SITES= ${MASTER_SITE_XEMACS}
MASTER_SITE_SUBDIR= xemacs-${XEMACS_REL}
@ -64,6 +64,13 @@ CONFIGURE_ARGS+= --with-ldap
CONFIGURE_ARGS+= --with-ldap=no
.endif
.if defined(WITH_POSTGRES)
CONFIGURE_ARGS+= --with-postgresql
LIB_DEPENDS+= pq:${PORTSDIR}databases/postgresql${DEFAULT_PGSQL_VER}-client
.else
CONFIGURE_ARGS+= --without-postgresql
.endif
.if !defined(WITHOUT_XEMACS_PACKAGES)
RUN_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/etc/enriched.doc:${PORTSDIR}/editors/xemacs-packages
.endif